build: commit the lock file

cargo 1.82 has no MSRV-aware resolution, so a dependency publishing a
release that needs a newer toolchain would break the build on a change
that touched nothing. Pinning the resolution makes builds reproducible.

Consumers ignore the lock file of a dependency, so this constrains
nothing downstream. Committing it for libraries is the current cargo
recommendation.
merge-requests/20/merge
Alaric Senat 2026-08-19 14:30:38 +02:00
parent 1fd3d08b6e
commit 651c5e743b
2 changed files with 74 additions and 1 deletions

1
.gitignore vendored
View File

@ -14,4 +14,3 @@
/target/
/libvlc-sys/target
/xtask/target
/Cargo.lock

74
Cargo.lock generated 100644
View File

@ -0,0 +1,74 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "cc"
version = "1.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "509591b7bcd67f4ef775afad7662703b4935daaa6ec0e5605cfb1090b32a2b6d"
dependencies = [
"find-msvc-tools",
"shlex",
]
[[package]]
name = "find-msvc-tools"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890"
[[package]]
name = "libc"
version = "0.2.189"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
[[package]]
name = "libvlc-sys"
version = "0.2.0"
dependencies = [
"libc",
"pkg-config",
"vswhom",
]
[[package]]
name = "pkg-config"
version = "0.3.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
[[package]]
name = "shlex"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
[[package]]
name = "vlc-rs"
version = "0.3.0"
dependencies = [
"libc",
"libvlc-sys",
]
[[package]]
name = "vswhom"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be979b7f07507105799e854203b470ff7c78a1639e330a58f183b5fea574608b"
dependencies = [
"libc",
"vswhom-sys",
]
[[package]]
name = "vswhom-sys"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb067e4cbd1ff067d1df46c9194b5de0e98efd2810bbc95c5d5e5f25a3231150"
dependencies = [
"cc",
"libc",
]