Add Cargo.lock to the repository

This makes sure that any broken dependency updates are not breaking our
build, at the cost of requiring us to update the lock file regularly.

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

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1385>
This commit is contained in:
Sebastian Dröge 2023-11-09 10:07:19 +02:00
parent 8b37d8ec02
commit 63edc84103
2 changed files with 6728 additions and 7 deletions

View file

@ -73,13 +73,6 @@ trigger:
before_script:
- source ./ci/env.sh
- mkdir .cargo && echo -e "[net]\ngit-fetch-with-cli = true" > .cargo/config
# If cargo exists assume we probably will want to update
# the lockfile
- |
if command -v cargo; then
cargo generate-lockfile
cargo update
fi
.debian:12-stable:
extends: .debian:12

6728
Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff