rust: Specify minimum dependency versions

These are the minimum versions so the source compiles.
Verified with:

    cargo +nightly update -Zminimal-versions --offline --verbose
    cargo update -p regex-syntax --precise=0.6.25
    cargo check
This commit is contained in:
Gabriel 2024-09-02 21:55:59 +00:00 committed by Gabriel de Perthuis
parent 511a714ed3
commit 086fb7f313
2 changed files with 5 additions and 5 deletions

View File

@ -16,16 +16,16 @@ fuse = []
log = { version = "0.4", features = ["std"] } log = { version = "0.4", features = ["std"] }
clap = { version = "4.0.32", features = ["derive", "wrap_help"] } clap = { version = "4.0.32", features = ["derive", "wrap_help"] }
clap_complete = "4.3.2" clap_complete = "4.3.2"
anyhow = "1.0" anyhow = "1.0.1"
libc = "0.2.69" libc = "0.2.69"
udev = "0.7.0" udev = "0.7.0"
uuid = "1.2.2" uuid = "1.2.2"
errno = "0.2" errno = "0.2.7"
either = "1.5" either = "1.5"
bch_bindgen = { path = "bch_bindgen" } bch_bindgen = { path = "bch_bindgen" }
strum = { version = "0.26", features = ["derive"] } strum = { version = "0.26", features = ["derive"] }
strum_macros = "0.26" strum_macros = "0.26"
zeroize = { version = "1", features = ["std", "zeroize_derive"] } zeroize = { version = "1.5.5", features = ["std", "zeroize_derive"] }
rustix = { version = "0.38.34", features = ["termios"] } rustix = { version = "0.38.34", features = ["termios"] }
owo-colors = "4" owo-colors = "4"

View File

@ -17,5 +17,5 @@ bitflags = "1.3.2"
paste = "1.0.11" paste = "1.0.11"
[build-dependencies] [build-dependencies]
pkg-config = "0.3" pkg-config = "0.3.7"
bindgen = "0.69.4" bindgen = "0.69.5"