From 17fe12b72d42e81716bdcdd7c68f6210561bcd8c Mon Sep 17 00:00:00 2001 From: Eric Seppanen Date: Fri, 20 Dec 2024 17:58:40 -0800 Subject: [PATCH] bump dependency versions to get minimal versions to build These dependency versions are the minimum that can actually build. This allows a tool like `cargo minimal-versions` to verify that the code compiles even when using the oldest possible dependency versions, but is also a useful step toward verifying that the crates can be built on older toolchains. --- Cargo.toml | 14 +++++++------- cryptovec/Cargo.toml | 2 +- russh/Cargo.toml | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b11359a0..5953b9a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ resolver = "2" [workspace.dependencies] aes = "0.8" -async-trait = "0.1" +async-trait = "0.1.50" byteorder = "1.4" bytes = "1.7" digest = "0.10" @@ -21,11 +21,11 @@ hmac = "0.12" log = "0.4" rand = "0.8" rsa = "0.9" -sha1 = { version = "0.10", features = ["oid"] } -sha2 = { version = "0.10", features = ["oid"] } +sha1 = { version = "0.10.5", features = ["oid"] } +sha2 = { version = "0.10.6", features = ["oid"] } signature = "2.2" ssh-encoding = { version = "0.2", features = ["bytes"] } -ssh-key = { version = "0.6", features = [ +ssh-key = { version = "0.6.3", features = [ "ed25519", "rsa", "p256", @@ -33,6 +33,6 @@ ssh-key = { version = "0.6", features = [ "p521", "encryption", ] } -thiserror = "1.0" -tokio = { version = "1.17.0" } -tokio-stream = { version = "0.1", features = ["net", "sync"] } +thiserror = "1.0.30" +tokio = { version = "1.40.0" } +tokio-stream = { version = "0.1.3", features = ["net", "sync"] } diff --git a/cryptovec/Cargo.toml b/cryptovec/Cargo.toml index d07e269d..5db6c2ac 100644 --- a/cryptovec/Cargo.toml +++ b/cryptovec/Cargo.toml @@ -17,7 +17,7 @@ ssh-encoding = { workspace = true, optional = true } winapi = {version = "0.3", features = ["basetsd", "minwindef", "memoryapi"]} [dev-dependencies] -wasm-bindgen-test = "0.3" +wasm-bindgen-test = "0.3.46" [features] ssh-encoding = ["dep:ssh-encoding"] diff --git a/russh/Cargo.toml b/russh/Cargo.toml index 2cea735f..e17458cf 100644 --- a/russh/Cargo.toml +++ b/russh/Cargo.toml @@ -32,13 +32,13 @@ curve25519-dalek = "4.1.3" delegate.workspace = true digest.workspace = true elliptic-curve = { version = "0.13", features = ["ecdh"] } -flate2 = { version = "1.0", optional = true } +flate2 = { version = "1.0.15", optional = true } futures.workspace = true generic-array = "0.14" hex-literal = "0.4" hmac.workspace = true log.workspace = true -num-bigint = { version = "0.4", features = ["rand"] } +num-bigint = { version = "0.4.2", features = ["rand"] } once_cell = "1.13" p256 = { version = "0.13", features = ["ecdh"] } p384 = { version = "0.13", features = ["ecdh"] } @@ -61,9 +61,9 @@ des = { version = "0.8.1", optional = true } tokio = { workspace = true, features = ["io-util", "sync", "time"] } [dev-dependencies] -anyhow = "1.0" +anyhow = "1.0.4" env_logger = "0.11" -clap = { version = "3.2", features = ["derive"] } +clap = { version = "3.2.3", features = ["derive"] } tokio = { version = "1.17.0", features = [ "io-std", "io-util",