diff --git a/Cargo.lock b/Cargo.lock index ab0dd1b8fd6..cd81f1eaff5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1957,7 +1957,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2 0.5.9", + "socket2 0.6.3", "system-configuration 0.6.1", "tokio", "tower-service", @@ -2223,7 +2223,7 @@ dependencies = [ "tokio", "waitgroup", "webrtc-srtp", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -3223,7 +3223,7 @@ dependencies = [ "quickcheck", "rand 0.8.5", "rcgen", - "stun", + "stun 0.17.1", "thiserror 2.0.18", "tokio", "tokio-util", @@ -4306,7 +4306,7 @@ dependencies = [ "quinn-udp", "rustc-hash", "rustls", - "socket2 0.5.9", + "socket2 0.6.3", "thiserror 2.0.18", "tokio", "tracing", @@ -4725,7 +4725,7 @@ checksum = "8306430fb118b7834bbee50e744dc34826eca1da2158657a3d6cbc70e24c2096" dependencies = [ "bytes", "thiserror 1.0.69", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -4758,7 +4758,7 @@ dependencies = [ "rand 0.8.5", "serde", "thiserror 1.0.69", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -5338,7 +5338,26 @@ dependencies = [ "thiserror 1.0.69", "tokio", "url", - "webrtc-util", + "webrtc-util 0.10.0", +] + +[[package]] +name = "stun" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e0fd33c04d4617df42c9c84c698511c59f59869629fb7a193067eec41bce347" +dependencies = [ + "base64", + "crc", + "lazy_static", + "md-5", + "rand 0.9.0", + "ring", + "subtle", + "thiserror 1.0.69", + "tokio", + "url", + "webrtc-util 0.17.1", ] [[package]] @@ -5452,7 +5471,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.2", + "getrandom 0.4.2", "once_cell", "rustix 1.1.4", "windows-sys 0.61.2", @@ -5979,11 +5998,11 @@ dependencies = [ "portable-atomic", "rand 0.8.5", "ring", - "stun", + "stun 0.7.0", "thiserror 1.0.69", "tokio", "tokio-util", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6387,7 +6406,7 @@ dependencies = [ "serde_json", "sha2", "smol_str", - "stun", + "stun 0.7.0", "thiserror 1.0.69", "time", "tokio", @@ -6401,7 +6420,7 @@ dependencies = [ "webrtc-media", "webrtc-sctp", "webrtc-srtp", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6416,7 +6435,7 @@ dependencies = [ "thiserror 1.0.69", "tokio", "webrtc-sctp", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6452,7 +6471,7 @@ dependencies = [ "subtle", "thiserror 1.0.69", "tokio", - "webrtc-util", + "webrtc-util 0.10.0", "x25519-dalek", "x509-parser 0.16.0", ] @@ -6471,7 +6490,7 @@ dependencies = [ "rand 0.8.5", "serde", "serde_json", - "stun", + "stun 0.7.0", "thiserror 1.0.69", "tokio", "turn", @@ -6479,7 +6498,7 @@ dependencies = [ "uuid", "waitgroup", "webrtc-mdns", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6492,7 +6511,7 @@ dependencies = [ "socket2 0.5.9", "thiserror 1.0.69", "tokio", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6523,7 +6542,7 @@ dependencies = [ "rand 0.8.5", "thiserror 1.0.69", "tokio", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6546,7 +6565,7 @@ dependencies = [ "subtle", "thiserror 1.0.69", "tokio", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6570,6 +6589,26 @@ dependencies = [ "winapi", ] +[[package]] +name = "webrtc-util" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b65c1e0143a43d40f69e1d8c2ffc8734e379b49c06d45892ea4104c388bf9ead" +dependencies = [ + "async-trait", + "bitflags 1.3.2", + "bytes", + "ipnet", + "lazy_static", + "log", + "nix 0.26.4", + "portable-atomic", + "rand 0.9.0", + "thiserror 1.0.69", + "tokio", + "winapi", +] + [[package]] name = "webtransport-tests" version = "0.1.0" diff --git a/transports/webrtc/Cargo.toml b/transports/webrtc/Cargo.toml index 7a963d81cc9..3f0faae562a 100644 --- a/transports/webrtc/Cargo.toml +++ b/transports/webrtc/Cargo.toml @@ -23,7 +23,7 @@ libp2p-webrtc-utils = { workspace = true } multihash = { workspace = true } rand = "0.8" rcgen = { workspace = true } -stun = "0.7" +stun = "0.17" thiserror = { workspace = true } tokio = { workspace = true, features = ["net"], optional = true } tokio-util = { version = "0.7", features = ["compat"], optional = true }