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/gstreamer-rs/-/merge_requests/1340>
This commit is contained in:
Sebastian Dröge 2023-11-09 10:04:09 +02:00
parent 3051401aa4
commit 41519511aa
2 changed files with 3042 additions and 7 deletions

View file

@ -95,13 +95,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 --color=always
cargo update --color=always
fi
.debian:12-base:
extends: .debian:12

3042
Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff