diff --git a/Cargo.lock b/Cargo.lock index 2cbf84a6ece68..52a55d088908d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -610,25 +610,23 @@ dependencies = [ [[package]] name = "async-nats" -version = "0.33.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbc1f1a75fd07f0f517322d103211f12d757658e91676def9a2e688774656c60" +checksum = "fd3bdd6ea595b2ea504500a3566071beb81125fc15d40a6f6bffa43575f64152" dependencies = [ - "base64 0.21.7", + "base64 0.22.1", "bytes 1.8.0", "futures 0.3.31", - "http 0.2.9", "memchr", - "nkeys 0.3.2", + "nkeys", "nuid", "once_cell", + "portable-atomic", "rand 0.8.5", "regex", - "ring 0.17.5", - "rustls 0.21.11", - "rustls-native-certs 0.6.3", - "rustls-pemfile 1.0.3", - "rustls-webpki 0.101.7", + "rustls-native-certs 0.7.0", + "rustls-pemfile 2.1.0", + "rustls-webpki 0.102.2", "serde", "serde_json", "serde_nanos", @@ -636,9 +634,10 @@ dependencies = [ "thiserror", "time", "tokio", - "tokio-retry", - "tokio-rustls 0.24.1", + "tokio-rustls 0.26.0", + "tokio-util", "tracing 0.1.40", + "tryhard", "url", ] @@ -6077,22 +6076,6 @@ dependencies = [ "libc", ] -[[package]] -name = "nkeys" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aad178aad32087b19042ee36dfd450b73f5f934fbfb058b59b198684dfec4c47" -dependencies = [ - "byteorder", - "data-encoding", - "ed25519", - "ed25519-dalek", - "getrandom 0.2.15", - "log", - "rand 0.8.5", - "signatory", -] - [[package]] name = "nkeys" version = "0.4.4" @@ -8452,6 +8435,19 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rustls" +version = "0.23.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebbbdb961df0ad3f2652da8f3fdc4b36122f568f968f45ad3316f26c025c677b" +dependencies = [ + "once_cell", + "rustls-pki-types", + "rustls-webpki 0.102.2", + "subtle", + "zeroize", +] + [[package]] name = "rustls-native-certs" version = "0.6.3" @@ -9885,6 +9881,17 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-rustls" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" +dependencies = [ + "rustls 0.23.7", + "rustls-pki-types", + "tokio", +] + [[package]] name = "tokio-stream" version = "0.1.16" @@ -10399,6 +10406,17 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" +[[package]] +name = "tryhard" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c9f0a709784e86923586cff0d872dba54cd2d2e116b3bc57587d15737cfce9d" +dependencies = [ + "futures 0.3.31", + "pin-project-lite", + "tokio", +] + [[package]] name = "tungstenite" version = "0.20.1" @@ -10864,7 +10882,7 @@ dependencies = [ "mlua", "mongodb", "nix 0.26.2", - "nkeys 0.4.4", + "nkeys", "nom", "notify", "num-format", diff --git a/Cargo.toml b/Cargo.toml index 74dde7875ee90..a4a718166e756 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -329,7 +329,7 @@ lru = { version = "0.12.5", default-features = false, optional = true } maxminddb = { version = "0.24.0", default-features = false, optional = true } md-5 = { version = "0.10", default-features = false, optional = true } mongodb = { version = "2.8.2", default-features = false, features = ["tokio-runtime"], optional = true } -async-nats = { version = "0.33.0", default-features = false, optional = true } +async-nats = { version = "0.37.0", default-features = false, optional = true } nkeys = { version = "0.4.4", default-features = false, optional = true } nom = { version = "7.1.3", default-features = false, optional = true } notify = { version = "7.0.0", default-features = false, features = ["macos_fsevent"] }