* chore: check-in Cargo.lock

This commit checks the `Cargo.lock` file into git.

Version controlling `Cargo.lock` makes e.g. our CI builds more reproducible,
where two consecutive CI runs on the same commit use the same set of
dependencies, even if a compatible update of a dependency was published in
between the two runs.

This is also helpful when cutting patch releases of old Neqo versions, where
dependencies since shipped a breaking change in a patch version, e.g. a MSRV
update. See for example pinned dependencies in a recent Neqo patch release to
the Neqo v0.6 family.

66e60f360e

While previously the recommendation by the cargo team was for libraries to not
check in their `Cargo.lock`, this recommendation has since been replaced by "do
what is best for the project".

https://blog.rust-lang.org/2023/08/29/committing-lockfiles.html

* Update url to v2.5.3

See corresponding mozilla-central patch https://bugzilla.mozilla.org/show_bug.cgi?id=1932137.

* Update zerovec-derive to v0.10.3

* Update shlex to v1.3.0

* Update to url v2.5.4
This commit is contained in:
Max Inden 2024-11-25 12:17:41 +01:00 коммит произвёл GitHub
Родитель f4f55dd493
Коммит 2fb1a3bda3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
5 изменённых файлов: 1576 добавлений и 2 удалений

3
.github/dependabot.yml поставляемый
Просмотреть файл

@ -7,6 +7,9 @@ updates:
directory: "/"
schedule:
interval: "weekly"
# Disable all non-security updates.
# <https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#open-pull-requests-limit>
open-pull-requests-limit: 0
- package-ecosystem: "github-actions"
directory: "/"
schedule:

7
.github/workflows/check.yml поставляемый
Просмотреть файл

@ -129,6 +129,13 @@ jobs:
path: simulation-seeds
compression-level: 9
check-cargo-lock:
name: Ensure `Cargo.lock` contains all required dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: cargo update -w --locked
bench:
needs: [check]
if: >

1
.gitignore поставляемый
Просмотреть файл

@ -4,4 +4,3 @@
/.vscode/
/lcov.info
/target/
Cargo.lock

1565
Cargo.lock сгенерированный Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -36,7 +36,7 @@ qlog = { version = "0.13", default-features = false }
quinn-udp = { version = "0.5.6", default-features = false, features = ["direct-log"] }
regex = { version = "1.9", default-features = false, features = ["unicode-perl"] }
static_assertions = { version = "1.1", default-features = false }
url = { version = "=2.5.1", default-features = false }
url = { version = "2.5.3", default-features = false, features = ["std"] }
[workspace.lints.clippy]
cargo = { level = "warn", priority = -1 }