diff --git a/Cargo.lock b/Cargo.lock index 5f6d4c5..b127e15 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1862,8 +1862,8 @@ dependencies = [ "bytes", "futures", "pin-project", - "rand 0.8.5", - "thiserror 1.0.69", + "rand 0.9.1", + "thiserror 2.0.12", "tokio", "tokio-util", "tracing", @@ -1917,14 +1917,14 @@ dependencies = [ "paste", "pin-project", "proxy-protocol", - "rand 0.8.5", + "rand 0.9.1", "regex", "reqwest", "rustls-native-certs 0.7.3", "rustls-pemfile", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tokio-retry", "tokio-socks", diff --git a/muxado/Cargo.toml b/muxado/Cargo.toml index 4a77a7a..c908c01 100644 --- a/muxado/Cargo.toml +++ b/muxado/Cargo.toml @@ -8,19 +8,19 @@ repository = "https://github.com/ngrok/ngrok-rust" [dependencies] bitflags = "1.3.2" -bytes = "1.3.0" +bytes = "1.10.1" futures = { version = "0.3.25", features = [ "bilock", "unstable" ] } -thiserror = "1.0.37" +thiserror = "2" tokio = { version = "1.44.1", features = ["io-util", "macros", "rt", "time"] } tokio-util = { version = "0.7.10", features = ["codec"] } pin-project = "1.0.12" tracing = "0.1.37" async-trait = "0.1.59" -rand = "0.8.5" +rand = "0.9.1" awaitdrop = "0.1.1" [dev-dependencies] -anyhow = { version = "1.0.66" } +anyhow = { version = "1.0" } tracing-subscriber = { version = "0.3.16", features = ["env-filter"] } tokio = { version = "1.44.1", features = ["full"] } tracing-core = { version = "0.1.30" } diff --git a/ngrok/Cargo.toml b/ngrok/Cargo.toml index 2bfb1c1..0a3bc44 100644 --- a/ngrok/Cargo.toml +++ b/ngrok/Cargo.toml @@ -15,7 +15,7 @@ axum-core = "0.4.3" base64 = "0.21.7" bitflags = "2.4.2" -bytes = "1.3.0" +bytes = "1.10.1" futures = "0.3.25" futures-rustls = { version = "0.26.0" } @@ -34,7 +34,7 @@ rustls-native-certs = "0.7.0" rustls-pemfile = "2.0.0" serde = { version = "1.0.149", features = ["derive"] } serde_json = "1.0.89" -thiserror = "1.0.37" +thiserror = "2" tokio = { version = "1.23.0", features = [ "io-util", "net", @@ -65,7 +65,7 @@ hyper-util = { version = "0.1.3", features = [ "http2", ]} paste = "1.0.11" -rand = "0.8.5" +rand = "0.9.1" reqwest = "0.12" tokio = { version = "1.23.0", features = ["full"] } tokio-tungstenite = { version = "0.26.2", features = [