diff --git a/Cargo.lock b/Cargo.lock index db35f1b9f21..8c4989a9d9b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,12 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "adler2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + [[package]] name = "aead" version = "0.5.2" @@ -46,6 +52,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "alloca" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4" +dependencies = [ + "cc", +] + [[package]] name = "anes" version = "0.1.6" @@ -319,11 +334,12 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "attohttpc" -version = "0.24.1" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d9a9bf8b79a749ee0b911b91b671cc2b6c670bdbc7e3dfd537576ddc94bb2a2" +checksum = "16e2cdb6d5ed835199484bb92bb8b3edd526effe995c61732580439c1a67e2e9" dependencies = [ - "http 0.2.12", + "base64", + "http", "log", "url", ] @@ -362,6 +378,28 @@ dependencies = [ "tracing-subscriber", ] +[[package]] +name = "aws-lc-rs" +version = "1.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec6fb3fe69024a75fa7e1bfb48aa6cf59706a101658ea01bfd33b2b248a038f" +dependencies = [ + "aws-lc-sys", + "zeroize", +] + +[[package]] +name = "aws-lc-sys" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f50037ee5e1e41e7b8f9d161680a725bd1626cb6f8c7e901f91f942850852fe7" +dependencies = [ + "cc", + "cmake", + "dunce", + "fs_extra", +] + [[package]] name = "axum" version = "0.7.9" @@ -372,7 +410,7 @@ dependencies = [ "axum-core", "bytes", "futures-util", - "http 1.3.1", + "http", "http-body", "http-body-util", "hyper", @@ -405,7 +443,7 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http 1.3.1", + "http", "http-body", "http-body-util", "mime", @@ -474,9 +512,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.9.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" +checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" [[package]] name = "blake2" @@ -521,8 +559,8 @@ dependencies = [ "rust-embed", "tokio", "tokio-util", - "tower 0.4.13", - "tower-http 0.5.2", + "tower 0.5.2", + "tower-http 0.6.10", "tracing", "tracing-subscriber", "tracing-wasm", @@ -588,19 +626,22 @@ dependencies = [ [[package]] name = "cbor4ii" -version = "0.3.3" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "472931dd4dfcc785075b09be910147f9c6258883fc4591d0dac6116392b2daa6" +checksum = "faed1a83001dc2c9201451030cc317e35bef36c84d3781d7c5bb9f343c397da8" dependencies = [ "serde", ] [[package]] name = "cc" -version = "1.2.19" +version = "1.2.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e3a13707ac958681c13b39b458c073d0d9bc8a22cb1b2f4c8e55eb72c13f362" +checksum = "a1dce859f0832a7d088c4f1119888ab94ef4b5d6795d1ce05afb7fe159d79f98" dependencies = [ + "find-msvc-tools", + "jobserver", + "libc", "shlex", ] @@ -616,6 +657,12 @@ dependencies = [ "subtle", ] +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + [[package]] name = "cfg-if" version = "1.0.4" @@ -751,6 +798,15 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" +[[package]] +name = "cmake" +version = "0.1.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678" +dependencies = [ + "cc", +] + [[package]] name = "colorchoice" version = "1.0.3" @@ -802,6 +858,27 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2f421161cb492475f1661ddc9815a745a1c894592070661180fdec3d4872e9c3" +[[package]] +name = "const_format" +version = "0.2.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4481a617ad9a412be3b97c5d403fef8ed023103368908b9c50af598ff467cc1e" +dependencies = [ + "const_format_proc_macros", + "konst", +] + +[[package]] +name = "const_format_proc_macros" +version = "0.2.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + [[package]] name = "core-foundation" version = "0.9.4" @@ -812,6 +889,16 @@ dependencies = [ "libc", ] +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "core-foundation-sys" version = "0.8.7" @@ -851,6 +938,15 @@ version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" +[[package]] +name = "crc32fast" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" +dependencies = [ + "cfg-if", +] + [[package]] name = "criterion" version = "0.5.1" @@ -861,7 +957,7 @@ dependencies = [ "cast", "ciborium", "clap", - "criterion-plot", + "criterion-plot 0.5.0", "futures", "is-terminal", "itertools 0.10.5", @@ -879,6 +975,31 @@ dependencies = [ "walkdir", ] +[[package]] +name = "criterion" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "950046b2aa2492f9a536f5f4f9a3de7b9e2476e575e05bd6c333371add4d98f3" +dependencies = [ + "alloca", + "anes", + "cast", + "ciborium", + "clap", + "criterion-plot 0.8.2", + "itertools 0.13.0", + "num-traits", + "oorandom", + "page_size", + "plotters", + "rayon", + "regex", + "serde", + "serde_json", + "tinytemplate", + "walkdir", +] + [[package]] name = "criterion-plot" version = "0.5.0" @@ -889,6 +1010,16 @@ dependencies = [ "itertools 0.10.5", ] +[[package]] +name = "criterion-plot" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8d80a2f4f5b554395e47b5d8305bc3d27813bacb73493eb1001e8f76dae29ea" +dependencies = [ + "cast", + "itertools 0.13.0", +] + [[package]] name = "critical-section" version = "1.2.0" @@ -1110,7 +1241,16 @@ version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" dependencies = [ - "dirs-sys", + "dirs-sys 0.4.1", +] + +[[package]] +name = "dirs" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" +dependencies = [ + "dirs-sys 0.5.0", ] [[package]] @@ -1121,10 +1261,22 @@ checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" dependencies = [ "libc", "option-ext", - "redox_users", + "redox_users 0.4.6", "windows-sys 0.48.0", ] +[[package]] +name = "dirs-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" +dependencies = [ + "libc", + "option-ext", + "redox_users 0.5.2", + "windows-sys 0.61.2", +] + [[package]] name = "displaydoc" version = "0.2.5" @@ -1152,6 +1304,12 @@ version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6add3b8cff394282be81f3fc1a0605db594ed69890078ca6e2cab1c408bcf04" +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + [[package]] name = "ecdsa" version = "0.16.9" @@ -1320,6 +1478,33 @@ dependencies = [ "tracing-subscriber", ] +[[package]] +name = "filetime" +version = "0.2.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d5b2eef6fafbf69f877e55509ce5b11a760690ac9700a2921be067aa6afaef6" +dependencies = [ + "cfg-if", + "libc", +] + +[[package]] +name = "find-msvc-tools" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" + +[[package]] +name = "flate2" +version = "1.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c" +dependencies = [ + "crc32fast", + "miniz_oxide", + "zlib-rs", +] + [[package]] name = "fnv" version = "1.0.7" @@ -1362,6 +1547,23 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "fs4" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e72ed92b67c146290f88e9c89d60ca163ea417a446f61ffd7b72df3e7f1dfd5" +dependencies = [ + "rustix 1.1.4", + "tokio", + "windows-sys 0.61.2", +] + +[[package]] +name = "fs_extra" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" + [[package]] name = "futures" version = "0.3.31" @@ -1644,7 +1846,7 @@ dependencies = [ "fnv", "futures-core", "futures-sink", - "http 1.3.1", + "http", "indexmap 2.13.0", "slab", "tokio", @@ -1731,6 +1933,12 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" +[[package]] +name = "hex-literal" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e712f64ec3850b98572bffac52e2c6f282b29fe6c5fa6d42334b30be438d95c1" + [[package]] name = "hex_fmt" version = "0.3.0" @@ -1752,7 +1960,7 @@ dependencies = [ "hickory-proto", "idna", "ipnet", - "jni", + "jni 0.22.4", "rand 0.10.0", "thiserror 2.0.18", "tinyvec", @@ -1770,7 +1978,7 @@ dependencies = [ "data-encoding", "idna", "ipnet", - "jni", + "jni 0.22.4", "once_cell", "prefix-trie", "rand 0.10.0", @@ -1793,7 +2001,7 @@ dependencies = [ "hickory-proto", "ipconfig", "ipnet", - "jni", + "jni 0.22.4", "moka", "ndk-context", "once_cell", @@ -1852,17 +2060,6 @@ dependencies = [ "windows-link 0.1.1", ] -[[package]] -name = "http" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - [[package]] name = "http" version = "1.3.1" @@ -1881,7 +2078,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", - "http 1.3.1", + "http", ] [[package]] @@ -1892,7 +2089,7 @@ checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", "futures-core", - "http 1.3.1", + "http", "http-body", "pin-project-lite", ] @@ -1926,7 +2123,7 @@ dependencies = [ "futures-channel", "futures-core", "h2", - "http 1.3.1", + "http", "http-body", "httparse", "httpdate", @@ -1945,7 +2142,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" dependencies = [ "futures-util", - "http 1.3.1", + "http", "hyper", "hyper-util", "rustls", @@ -1953,7 +2150,6 @@ dependencies = [ "tokio", "tokio-rustls", "tower-service", - "webpki-roots 0.26.8", ] [[package]] @@ -1996,7 +2192,7 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "http 1.3.1", + "http", "http-body", "hyper", "ipnet", @@ -2183,7 +2379,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71c02a5161c313f0cbdbadc511611893584a10a7b6153cb554bdf83ddce99ec2" dependencies = [ "async-io", - "core-foundation", + "core-foundation 0.9.4", "fnv", "futures", "if-addrs", @@ -2201,20 +2397,19 @@ dependencies = [ [[package]] name = "igd-next" -version = "0.16.1" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06464e726471718db9ad3fefc020529fabcde03313a0fc3967510e2db5add12" +checksum = "bac9a3c8278f43b4cd8463380f4a25653ac843e5b177e1d3eaf849cc9ba10d4d" dependencies = [ - "async-trait", "attohttpc", "bytes", "futures", - "http 1.3.1", + "http", "http-body-util", "hyper", "hyper-util", "log", - "rand 0.9.0", + "rand 0.10.0", "tokio", "url", "xmltree", @@ -2269,7 +2464,7 @@ dependencies = [ "tokio", "waitgroup", "webrtc-srtp", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -2290,7 +2485,7 @@ dependencies = [ "mime_guess", "rand 0.8.5", "redis", - "reqwest", + "reqwest 0.12.24", "rust-embed", "serde", "serde_json", @@ -2349,16 +2544,6 @@ dependencies = [ "serde", ] -[[package]] -name = "iri-string" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397" -dependencies = [ - "memchr", - "serde", -] - [[package]] name = "is-terminal" version = "0.4.16" @@ -2385,6 +2570,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itertools" version = "0.14.0" @@ -2424,6 +2618,22 @@ dependencies = [ "syn", ] +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys 0.3.1", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + [[package]] name = "jni" version = "0.22.4" @@ -2433,7 +2643,7 @@ dependencies = [ "cfg-if", "combine", "jni-macros", - "jni-sys", + "jni-sys 0.4.1", "log", "simd_cesu8", "thiserror 2.0.18", @@ -2454,6 +2664,15 @@ dependencies = [ "syn", ] +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + [[package]] name = "jni-sys" version = "0.4.1" @@ -2473,6 +2692,16 @@ dependencies = [ "syn", ] +[[package]] +name = "jobserver" +version = "0.1.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" +dependencies = [ + "getrandom 0.3.2", + "libc", +] + [[package]] name = "js-sys" version = "0.3.77" @@ -2518,6 +2747,21 @@ dependencies = [ "zeroize", ] +[[package]] +name = "konst" +version = "0.2.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "128133ed7824fcd73d6e7b17957c5eb7bacb885649bd8c69708b2331a10bcefb" +dependencies = [ + "konst_macro_rules", +] + +[[package]] +name = "konst_macro_rules" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4933f3f57a8e9d9da04db23fb153356ecaf00cbd14aee46279c33dc80925c37" + [[package]] name = "lazy_static" version = "1.5.0" @@ -2791,9 +3035,9 @@ version = "0.2.13" dependencies = [ "asn1_der", "bs58", - "criterion", + "criterion 0.8.2", "ed25519-dalek", - "hex-literal", + "hex-literal 1.1.0", "hkdf", "k256", "multihash", @@ -2905,7 +3149,7 @@ version = "0.44.0" dependencies = [ "asynchronous-codec", "bytes", - "criterion", + "criterion 0.5.1", "futures", "libp2p-core", "libp2p-identity", @@ -3191,7 +3435,7 @@ dependencies = [ name = "libp2p-swarm" version = "0.48.0" dependencies = [ - "criterion", + "criterion 0.5.1", "either", "fnv", "futures", @@ -3265,7 +3509,7 @@ version = "0.7.0" dependencies = [ "futures", "futures-rustls", - "hex-literal", + "hex-literal 0.4.1", "libp2p-core", "libp2p-identity", "libp2p-swarm", @@ -3276,8 +3520,8 @@ dependencies = [ "rustls-webpki", "thiserror 2.0.18", "tokio", - "x509-parser 0.17.0", - "yasna", + "x509-parser 0.18.1", + "yasna 0.6.0", ] [[package]] @@ -3321,7 +3565,7 @@ dependencies = [ "quickcheck", "rand 0.8.5", "rcgen", - "stun", + "stun 0.17.1", "thiserror 2.0.18", "tokio", "tokio-util", @@ -3338,7 +3582,7 @@ dependencies = [ "bytes", "futures", "hex", - "hex-literal", + "hex-literal 0.4.1", "libp2p-core", "libp2p-identity", "libp2p-noise", @@ -3391,7 +3635,7 @@ dependencies = [ "tokio", "tracing", "url", - "webpki-roots 0.26.8", + "webpki-roots", ] [[package]] @@ -3453,7 +3697,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "libc", ] @@ -3605,9 +3849,9 @@ dependencies = [ [[package]] name = "minicov" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f27fe9f1cc3c22e1687f9446c2083c4c5fc7f0bcf1c7a86bdbded14985895b4b" +checksum = "4869b6a491569605d66d3952bcdf03df789e5b536e5f0cf7758a7f08a55ae24d" dependencies = [ "cc", "walkdir", @@ -3619,6 +3863,16 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" +[[package]] +name = "miniz_oxide" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" +dependencies = [ + "adler2", + "simd-adler32", +] + [[package]] name = "mio" version = "1.2.0" @@ -3720,10 +3974,10 @@ dependencies = [ "libc", "log", "openssl", - "openssl-probe", + "openssl-probe 0.1.6", "openssl-sys", "schannel", - "security-framework", + "security-framework 2.11.1", "security-framework-sys", "tempfile", ] @@ -3749,7 +4003,7 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ce3636fa715e988114552619582b530481fd5ef176a1e5c1bf024077c2c9445" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "libc", "log", "netlink-packet-core", @@ -3801,7 +4055,7 @@ version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "cfg-if", "cfg_aliases", "libc", @@ -3885,6 +4139,25 @@ dependencies = [ "libc", ] +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags 2.11.1", +] + +[[package]] +name = "objc2-io-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33fafba39597d6dc1fb709123dfa8289d39406734be322956a69f0931c73bb15" +dependencies = [ + "libc", + "objc2-core-foundation", +] + [[package]] name = "oid-registry" version = "0.7.1" @@ -3931,7 +4204,7 @@ version = "0.10.79" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf0b434746ee2832f4f0baf10137e1cabb18cbe6912c69e2e33263c45250f542" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "cfg-if", "foreign-types", "libc", @@ -3956,6 +4229,12 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" +[[package]] +name = "openssl-probe" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" + [[package]] name = "openssl-sys" version = "0.9.115" @@ -3990,7 +4269,7 @@ checksum = "91cf61a1868dacc576bf2b2a1c3e9ab150af7272909e80085c3173384fe11f76" dependencies = [ "async-trait", "futures-core", - "http 1.3.1", + "http", "opentelemetry", "opentelemetry-proto", "opentelemetry_sdk", @@ -4064,6 +4343,16 @@ dependencies = [ "sha2", ] +[[package]] +name = "page_size" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30d5b2194ed13191c1999ae0704b7839fb18384fa22e49b57eeaa97d79ce40da" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "parking" version = "2.2.1" @@ -4099,6 +4388,12 @@ version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" +[[package]] +name = "pastey" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5a797f0e07bdf071d15742978fc3128ec6c22891c31a3a931513263904c982a" + [[package]] name = "pem" version = "3.0.5" @@ -4378,7 +4673,7 @@ version = "0.4.0" dependencies = [ "asynchronous-codec", "bytes", - "criterion", + "criterion 0.5.1", "futures", "quick-protobuf", "quickcheck-ext", @@ -4432,6 +4727,7 @@ version = "0.11.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "434b42fec591c96ef50e21e886936e66d3cc3f737104fdb9b737c40ffb94c098" dependencies = [ + "aws-lc-rs", "bytes", "getrandom 0.3.2", "lru-slab", @@ -4631,7 +4927,7 @@ dependencies = [ "rustls-pki-types", "time", "x509-parser 0.16.0", - "yasna", + "yasna 0.5.2", ] [[package]] @@ -4659,7 +4955,7 @@ version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2f103c6d277498fbceb16e84d317e2a400f160f46904d5f5410848c829511a3" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", ] [[package]] @@ -4674,8 +4970,19 @@ dependencies = [ ] [[package]] -name = "regex" -version = "1.12.3" +name = "redox_users" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" +dependencies = [ + "getrandom 0.2.15", + "libredox", + "thiserror 2.0.18", +] + +[[package]] +name = "regex" +version = "1.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" dependencies = [ @@ -4735,7 +5042,7 @@ dependencies = [ "encoding_rs", "futures-core", "h2", - "http 1.3.1", + "http", "http-body", "http-body-util", "hyper", @@ -4748,8 +5055,6 @@ dependencies = [ "native-tls", "percent-encoding", "pin-project-lite", - "quinn", - "rustls", "rustls-pki-types", "serde", "serde_json", @@ -4757,15 +5062,53 @@ dependencies = [ "sync_wrapper", "tokio", "tokio-native-tls", + "tower 0.5.2", + "tower-http 0.6.10", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "reqwest" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04e9018c9d814e5f30cc16a0f03271aeab3571e609612d9fe78c1aa8d11c2f62" +dependencies = [ + "base64", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "quinn", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "serde", + "serde_json", + "sync_wrapper", + "tokio", "tokio-rustls", + "tokio-util", "tower 0.5.2", - "tower-http 0.6.7", + "tower-http 0.6.10", "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", + "wasm-streams", "web-sys", - "webpki-roots 1.0.4", ] [[package]] @@ -4839,7 +5182,7 @@ checksum = "8306430fb118b7834bbee50e744dc34826eca1da2158657a3d6cbc70e24c2096" dependencies = [ "bytes", "thiserror 1.0.69", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -4872,7 +5215,7 @@ dependencies = [ "rand 0.8.5", "serde", "thiserror 1.0.69", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -4941,7 +5284,7 @@ version = "0.38.44" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "errno", "libc", "linux-raw-sys 0.4.15", @@ -4954,7 +5297,7 @@ version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "errno", "libc", "linux-raw-sys 0.12.1", @@ -4967,6 +5310,7 @@ version = "0.23.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7160e3e10bf4535308537f3c4e1641468cd0e485175d6163087c0393c7d46643" dependencies = [ + "aws-lc-rs", "once_cell", "ring", "rustls-pki-types", @@ -4975,21 +5319,62 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rustls-native-certs" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63" +dependencies = [ + "openssl-probe 0.2.1", + "rustls-pki-types", + "schannel", + "security-framework 3.7.0", +] + [[package]] name = "rustls-pki-types" -version = "1.11.0" +version = "1.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "917ce264624a4b4db1c364dcc35bfca9ded014d0a958cd47ad3e960e988ea51c" +checksum = "30a7197ae7eb376e574fe940d068c30fe0462554a3ddbe4eca7838e049c937a9" dependencies = [ "web-time", + "zeroize", +] + +[[package]] +name = "rustls-platform-verifier" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d99feebc72bae7ab76ba994bb5e121b8d83d910ca40b36e0921f53becc41784" +dependencies = [ + "core-foundation 0.10.1", + "core-foundation-sys", + "jni 0.21.1", + "log", + "once_cell", + "rustls", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki", + "security-framework 3.7.0", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", ] +[[package]] +name = "rustls-platform-verifier-android" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" + [[package]] name = "rustls-webpki" -version = "0.103.3" +version = "0.103.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4a72fe2bcf7a6ac6fd7d0b9e5cb68aeb7d4c0a0271730218b3e92d43b4eb435" +checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e" dependencies = [ + "aws-lc-rs", "ring", "rustls-pki-types", "untrusted", @@ -5088,8 +5473,21 @@ version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.9.0", - "core-foundation", + "bitflags 2.11.1", + "core-foundation 0.9.4", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags 2.11.1", + "core-foundation 0.10.1", "core-foundation-sys", "libc", "security-framework-sys", @@ -5097,9 +5495,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.14.0" +version = "2.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" dependencies = [ "core-foundation-sys", "libc", @@ -5259,7 +5657,7 @@ version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da03fa3b94cc19e3ebfc88c4229c49d8f08cdbd1228870a45f0ffdf84988e14b" dependencies = [ - "dirs", + "dirs 5.0.1", ] [[package]] @@ -5287,6 +5685,12 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "simd-adler32" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214" + [[package]] name = "simd_cesu8" version = "1.1.1" @@ -5431,44 +5835,41 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] -name = "strum" -version = "0.26.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" -dependencies = [ - "strum_macros", -] - -[[package]] -name = "strum_macros" -version = "0.26.4" +name = "stun" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" +checksum = "ea256fb46a13f9204e9dee9982997b2c3097db175a9fddaa8350310d03c4d5a3" dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn", + "base64", + "crc", + "lazy_static", + "md-5", + "rand 0.8.5", + "ring", + "subtle", + "thiserror 1.0.69", + "tokio", + "url", + "webrtc-util 0.10.0", ] [[package]] name = "stun" -version = "0.7.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea256fb46a13f9204e9dee9982997b2c3097db175a9fddaa8350310d03c4d5a3" +checksum = "2e0fd33c04d4617df42c9c84c698511c59f59869629fb7a193067eec41bce347" dependencies = [ "base64", "crc", "lazy_static", "md-5", - "rand 0.8.5", + "rand 0.9.0", "ring", "subtle", "thiserror 1.0.69", "tokio", "url", - "webrtc-util", + "webrtc-util 0.17.1", ] [[package]] @@ -5519,16 +5920,16 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.33.1" +version = "0.38.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fc858248ea01b66f19d8e8a6d55f41deaf91e9d495246fd01368d99935c6c01" +checksum = "92ab6a2f8bfe508deb3c6406578252e491d299cbbf3bc0529ecc3313aee4a52f" dependencies = [ - "core-foundation-sys", "libc", "memchr", "ntapi", - "rayon", - "windows 0.57.0", + "objc2-core-foundation", + "objc2-io-kit", + "windows 0.62.2", ] [[package]] @@ -5537,8 +5938,8 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" dependencies = [ - "bitflags 2.9.0", - "core-foundation", + "bitflags 2.11.1", + "core-foundation 0.9.4", "system-configuration-sys", ] @@ -5548,8 +5949,8 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b" dependencies = [ - "bitflags 2.9.0", - "core-foundation", + "bitflags 2.11.1", + "core-foundation 0.9.4", "system-configuration-sys", ] @@ -5569,6 +5970,17 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417" +[[package]] +name = "tar" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22692a6476a21fa75fdfc11d452fda482af402c008cdbaf3476414e122040973" +dependencies = [ + "filetime", + "libc", + "xattr", +] + [[package]] name = "target-triple" version = "1.0.0" @@ -5599,35 +6011,42 @@ dependencies = [ [[package]] name = "thirtyfour" -version = "0.32.0" +version = "0.36.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0641fa1353dd7b7864a7a7782e495433de18a9096bc91b5a2d5838ac209c2fa8" +checksum = "801f15adc5e2882c13b36d48003e5512b017e7b89ebf5fb35d59074a261e6afb" dependencies = [ + "arc-swap", "async-trait", "base64", - "futures", - "http 1.3.1", + "bytes", + "cfg-if", + "const_format", + "dirs 6.0.0", + "flate2", + "fs4", + "futures-util", + "http", "indexmap 2.13.0", - "parking_lot", - "paste", - "reqwest", + "pastey", + "reqwest 0.13.1", "serde", "serde_json", "serde_repr", "stringmatch", - "strum", + "tar", "thirtyfour-macros", - "thiserror 1.0.69", + "thiserror 2.0.18", "tokio", "tracing", "url", + "zip", ] [[package]] name = "thirtyfour-macros" -version = "0.1.3" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b72d056365e368fc57a56d0cec9e41b02fb4a3474a61c8735262b1cfebe67425" +checksum = "5cf0ffc3ba4368e99597bd6afd83f4ff6febad66d9ae541ab46e697d32285fc0" dependencies = [ "proc-macro2", "quote", @@ -5874,7 +6293,7 @@ dependencies = [ "base64", "bytes", "h2", - "http 1.3.1", + "http", "http-body", "http-body-util", "hyper", @@ -5934,10 +6353,10 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "bytes", "futures-util", - "http 1.3.1", + "http", "http-body", "http-body-util", "http-range-header", @@ -5955,20 +6374,20 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.6.7" +version = "0.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf146f99d442e8e68e585f5d798ccd3cad9a7835b917e09728880a862706456" +checksum = "68d6fdd9f81c2819c9a8b0e0cd91660e7746a8e6ea2ba7c6b2b057985f6bcb51" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "bytes", "futures-util", - "http 1.3.1", + "http", "http-body", - "iri-string", "pin-project-lite", "tower 0.5.2", "tower-layer", "tower-service", + "url", ] [[package]] @@ -6109,13 +6528,19 @@ 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]] +name = "typed-path" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e28f89b80c87b8fb0cf04ab448d5dd0dd0ade2f8891bae878de66a75a28600e" + [[package]] name = "typenum" version = "1.18.0" @@ -6439,13 +6864,26 @@ dependencies = [ "wasmparser", ] +[[package]] +name = "wasm-streams" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + [[package]] name = "wasmparser" version = "0.244.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", "hashbrown 0.15.5", "indexmap 2.13.0", "semver", @@ -6472,19 +6910,19 @@ dependencies = [ ] [[package]] -name = "webpki-roots" -version = "0.26.8" +name = "webpki-root-certs" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2210b291f7ea53617fbafcc4939f10914214ec15aace5ba62293a668f322c5c9" +checksum = "f31141ce3fc3e300ae89b78c0dd67f9708061d1d2eda54b8209346fd6be9a92c" dependencies = [ "rustls-pki-types", ] [[package]] name = "webpki-roots" -version = "1.0.4" +version = "0.26.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e" +checksum = "2210b291f7ea53617fbafcc4939f10914214ec15aace5ba62293a668f322c5c9" dependencies = [ "rustls-pki-types", ] @@ -6517,7 +6955,7 @@ dependencies = [ "serde_json", "sha2", "smol_str", - "stun", + "stun 0.7.0", "thiserror 1.0.69", "time", "tokio", @@ -6531,7 +6969,7 @@ dependencies = [ "webrtc-media", "webrtc-sctp", "webrtc-srtp", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6546,7 +6984,7 @@ dependencies = [ "thiserror 1.0.69", "tokio", "webrtc-sctp", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6582,7 +7020,7 @@ dependencies = [ "subtle", "thiserror 1.0.69", "tokio", - "webrtc-util", + "webrtc-util 0.10.0", "x25519-dalek", "x509-parser 0.16.0", ] @@ -6601,7 +7039,7 @@ dependencies = [ "rand 0.8.5", "serde", "serde_json", - "stun", + "stun 0.7.0", "thiserror 1.0.69", "tokio", "turn", @@ -6609,7 +7047,7 @@ dependencies = [ "uuid", "waitgroup", "webrtc-mdns", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6622,7 +7060,7 @@ dependencies = [ "socket2 0.5.9", "thiserror 1.0.69", "tokio", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6653,7 +7091,7 @@ dependencies = [ "rand 0.8.5", "thiserror 1.0.69", "tokio", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6676,7 +7114,7 @@ dependencies = [ "subtle", "thiserror 1.0.69", "tokio", - "webrtc-util", + "webrtc-util 0.10.0", ] [[package]] @@ -6700,6 +7138,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" @@ -6755,16 +7213,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.57.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143" -dependencies = [ - "windows-core 0.57.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.58.0" @@ -6796,18 +7244,6 @@ dependencies = [ "windows-core 0.62.2", ] -[[package]] -name = "windows-core" -version = "0.57.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d" -dependencies = [ - "windows-implement 0.57.0", - "windows-interface 0.57.0", - "windows-result 0.1.2", - "windows-targets 0.52.6", -] - [[package]] name = "windows-core" version = "0.58.0" @@ -6845,17 +7281,6 @@ dependencies = [ "windows-threading", ] -[[package]] -name = "windows-implement" -version = "0.57.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "windows-implement" version = "0.58.0" @@ -6878,17 +7303,6 @@ dependencies = [ "syn", ] -[[package]] -name = "windows-interface" -version = "0.57.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "windows-interface" version = "0.58.0" @@ -6944,15 +7358,6 @@ dependencies = [ "windows-targets 0.53.0", ] -[[package]] -name = "windows-result" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" -dependencies = [ - "windows-targets 0.52.6", -] - [[package]] name = "windows-result" version = "0.2.0" @@ -7008,6 +7413,15 @@ dependencies = [ "windows-link 0.2.1", ] +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + [[package]] name = "windows-sys" version = "0.48.0" @@ -7044,6 +7458,21 @@ dependencies = [ "windows-link 0.2.1", ] +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + [[package]] name = "windows-targets" version = "0.48.5" @@ -7100,6 +7529,12 @@ dependencies = [ "windows-link 0.2.1", ] +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + [[package]] name = "windows_aarch64_gnullvm" version = "0.48.5" @@ -7118,6 +7553,12 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + [[package]] name = "windows_aarch64_msvc" version = "0.48.5" @@ -7136,6 +7577,12 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + [[package]] name = "windows_i686_gnu" version = "0.48.5" @@ -7166,6 +7613,12 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + [[package]] name = "windows_i686_msvc" version = "0.48.5" @@ -7184,6 +7637,12 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + [[package]] name = "windows_x86_64_gnu" version = "0.48.5" @@ -7202,6 +7661,12 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" @@ -7220,6 +7685,12 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + [[package]] name = "windows_x86_64_msvc" version = "0.48.5" @@ -7280,7 +7751,7 @@ version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.11.1", ] [[package]] @@ -7321,7 +7792,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" dependencies = [ "anyhow", - "bitflags 2.9.0", + "bitflags 2.11.1", "indexmap 2.13.0", "log", "serde", @@ -7395,9 +7866,9 @@ dependencies = [ [[package]] name = "x509-parser" -version = "0.17.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4569f339c0c402346d4a75a9e39cf8dad310e287eef1ff56d4c68e5067f53460" +checksum = "d43b0f71ce057da06bc0851b23ee24f3f86190b07203dd8f567d0b706a185202" dependencies = [ "asn1-rs 0.7.1", "data-encoding", @@ -7410,6 +7881,16 @@ dependencies = [ "time", ] +[[package]] +name = "xattr" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" +dependencies = [ + "libc", + "rustix 1.1.4", +] + [[package]] name = "xml-rs" version = "0.8.26" @@ -7465,6 +7946,12 @@ dependencies = [ "time", ] +[[package]] +name = "yasna" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5f6765e852b9b4dc8e2a76843e4d64d1cea8e79bcde0b6901aea8e7c7f08282" + [[package]] name = "yoke" version = "0.7.5" @@ -7572,8 +8059,40 @@ dependencies = [ "syn", ] +[[package]] +name = "zip" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79b32dd4ad3aca14ae109f8cce0495ac1c57f6f4f00ad459a40e582f89440d97" +dependencies = [ + "crc32fast", + "flate2", + "indexmap 2.13.0", + "memchr", + "typed-path", + "zopfli", +] + +[[package]] +name = "zlib-rs" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3be3d40e40a133f9c916ee3f9f4fa2d9d63435b5fbe1bfc6d9dae0aa0ada1513" + [[package]] name = "zmij" version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" + +[[package]] +name = "zopfli" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edfc5ee405f504cd4984ecc6f14d02d55cfda60fa4b689434ef4102aae150cd7" +dependencies = [ + "bumpalo", + "crc32fast", + "log", + "simd-adler32", +] diff --git a/Cargo.toml b/Cargo.toml index 3ab8f676a7e..a1cafd4c39c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -119,12 +119,15 @@ libp2p-yamux = { version = "0.48.0", path = "muxers/yamux" } # External dependencies asynchronous-codec = { version = "0.7.0" } +axum = { version = "0.7.9" } +criterion = { version = "0.5.1" } bytes = "1.11.1" env_logger = "0.11" futures = "0.3.30" futures-bounded = { version = "0.3", features = ["tokio"] } futures-rustls = { version = "0.26.0", default-features = false } -futures-timer = { version = "3" } +futures-timer = "3.0" +hex-literal = "0.4" getrandom = { version = "0.2", features = ["js"] } hashlink = "0.11.0" hickory-proto = { version = "0.26.1", default-features = false } @@ -136,6 +139,7 @@ multistream-select = { version = "0.14.0", path = "misc/multistream-select" } prometheus-client = "0.24" quick-protobuf-codec = { version = "0.4.0", path = "misc/quick-protobuf-codec" } quickcheck = { package = "quickcheck-ext", path = "misc/quickcheck-ext" } +rand = "0.8.0" rcgen = "0.13" ring = "0.17.12" rw-stream-sink = { version = "0.5.0", path = "misc/rw-stream-sink" } @@ -144,7 +148,9 @@ tokio = { version = "1.52", default-features = false } tracing = "0.1.44" tracing-subscriber = "0.3.23" unsigned-varint = { version = "0.8.0" } -wasm-bindgen-futures = "0.4" +# Pinned to avoid wasm-bindgen 0.2.121 which breaks gloo-timers 0.2.6 (used by futures-timer for wasm) +# TODO: remove when futures-timer is updated. +wasm-bindgen-futures = "=0.4.50" web-time = "1.1.0" [patch.crates-io] diff --git a/core/Cargo.toml b/core/Cargo.toml index b4fc3b16c2e..5cecddc04c8 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"] either = "1.11" fnv = "1.0" futures = { workspace = true, features = ["executor", "thread-pool"] } -futures-timer = "3" +futures-timer = { workspace = true } web-time = { workspace = true } libp2p-identity = { workspace = true, features = ["peerid", "ed25519"] } multiaddr = { workspace = true } @@ -23,7 +23,7 @@ multistream-select = { workspace = true } parking_lot = "0.12.5" pin-project = "1.1.12" quick-protobuf = "0.8" -rand = "0.8" +rand = { workspace = true } rw-stream-sink = { workspace = true } thiserror = { workspace = true } tracing = { workspace = true } diff --git a/examples/autonatv2/Cargo.toml b/examples/autonatv2/Cargo.toml index 1e9a626f362..4a11eeef1b3 100644 --- a/examples/autonatv2/Cargo.toml +++ b/examples/autonatv2/Cargo.toml @@ -20,7 +20,7 @@ clap = { version = "4.6.1", features = ["derive"] } tokio = { version = "1.52.3", features = ["macros", "rt-multi-thread"] } tracing = "0.1.44" tracing-subscriber = { workspace = true, features = ["env-filter"] } -rand = "0.8.5" +rand = { workspace = true } opentelemetry = { version = "0.27.0", optional = true } opentelemetry_sdk = { version = "0.27.0", optional = true, features = ["rt-tokio"] } opentelemetry-otlp = { version = "0.27.0", optional = true } diff --git a/examples/browser-webrtc/Cargo.toml b/examples/browser-webrtc/Cargo.toml index 1f88d0e4009..23fab935574 100644 --- a/examples/browser-webrtc/Cargo.toml +++ b/examples/browser-webrtc/Cargo.toml @@ -18,19 +18,19 @@ crate-type = ["cdylib"] [dependencies] anyhow = "1.0.102" futures = { workspace = true } -rand = "0.8" +rand = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -axum = "0.7.5" +axum = { workspace = true } libp2p = { path = "../../libp2p", features = [ "ed25519", "macros", "ping", "tokio"] } libp2p-webrtc = { workspace = true, features = ["tokio"] } rust-embed = { version = "8.11.0", features = ["include-exclude", "interpolate-folder-path"] } tokio = { workspace = true, features = ["macros", "net", "rt", "signal"] } tokio-util = { version = "0.7", features = ["compat"] } -tower = "0.4" -tower-http = { version = "0.5.2", features = ["cors"] } +tower = "0.5" +tower-http = { version = "0.6", features = ["cors"] } mime_guess = "2.0.4" [target.'cfg(target_arch = "wasm32")'.dependencies] diff --git a/examples/dcutr/Cargo.toml b/examples/dcutr/Cargo.toml index e507ddbaf19..63b063db497 100644 --- a/examples/dcutr/Cargo.toml +++ b/examples/dcutr/Cargo.toml @@ -11,7 +11,7 @@ release = false [dependencies] clap = { version = "4.6.1", features = ["derive"] } futures = { workspace = true } -futures-timer = "3.0" +futures-timer = { workspace = true } libp2p = { path = "../../libp2p", features = [ "dns", "dcutr", "identify", "macros", "noise", "ping", "quic", "relay", "rendezvous", "tcp", "tokio", "yamux"] } tokio = { workspace = true, features = ["macros", "net", "rt", "signal"] } tracing = { workspace = true } diff --git a/examples/metrics/Cargo.toml b/examples/metrics/Cargo.toml index a969a31b906..fd79c95b417 100644 --- a/examples/metrics/Cargo.toml +++ b/examples/metrics/Cargo.toml @@ -10,7 +10,7 @@ release = false [dependencies] futures = { workspace = true } -axum = "0.7" +axum = { workspace = true } libp2p = { path = "../../libp2p", features = ["tokio", "metrics", "ping", "noise", "identify", "tcp", "yamux", "macros"] } opentelemetry = { version = "0.27.0", features = ["metrics"] } opentelemetry-otlp = { version = "0.27.0", features = ["metrics"] } diff --git a/examples/stream/Cargo.toml b/examples/stream/Cargo.toml index 3e4147231c8..3c7d851581a 100644 --- a/examples/stream/Cargo.toml +++ b/examples/stream/Cargo.toml @@ -9,11 +9,12 @@ license = "MIT" release = false [dependencies] + anyhow = "1" futures = { workspace = true } -libp2p = { path = "../../libp2p", features = [ "tokio", "quic"] } +libp2p = { path = "../../libp2p", features = ["tokio", "quic"] } +rand = { workspace = true } libp2p-stream = { path = "../../protocols/stream", version = "0.5.0-alpha" } -rand = "0.8" tokio = { workspace = true, features = ["full"] } tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } diff --git a/identity/Cargo.toml b/identity/Cargo.toml index 3718b9df92a..50ddc5d4b69 100644 --- a/identity/Cargo.toml +++ b/identity/Cargo.toml @@ -21,7 +21,7 @@ tracing = { workspace = true } multihash = { version = "0.19.5", optional = true } p256 = { version = "0.13", default-features = false, features = ["ecdsa", "std", "pem"], optional = true } quick-protobuf = { version = "0.8.1", optional = true } -rand = { version = "0.8", optional = true } +rand = { workspace = true, optional = true } sec1 = { version = "0.7", default-features = false, optional = true } serde = { version = "1", optional = true, features = ["derive"] } sha2 = { version = "0.10.8", optional = true } @@ -43,8 +43,8 @@ rand = ["dep:rand"] quickcheck = { workspace = true } serde_json = "1.0" rmp-serde = "1.3" -criterion = "0.5" -hex-literal = "0.4.1" +criterion = "0.8" +hex-literal = "1.1.0" [[bench]] name = "peer_id" diff --git a/identity/benches/peer_id.rs b/identity/benches/peer_id.rs index 358778e221e..893bb7deccf 100644 --- a/identity/benches/peer_id.rs +++ b/identity/benches/peer_id.rs @@ -18,7 +18,9 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -use criterion::{black_box, criterion_group, criterion_main, Criterion}; +use std::hint::black_box; + +use criterion::{criterion_group, criterion_main, Criterion}; use libp2p_identity::{Keypair, PeerId}; fn from_bytes(c: &mut Criterion) { diff --git a/interop-tests/Cargo.toml b/interop-tests/Cargo.toml index 84a390b5354..4c69fb89a7b 100644 --- a/interop-tests/Cargo.toml +++ b/interop-tests/Cargo.toml @@ -14,13 +14,13 @@ crate-type = ["cdylib", "rlib"] [dependencies] anyhow = "1" futures = { workspace = true } -rand = "0.8.5" +rand = { workspace = true } serde = { version = "1", features = ["derive"] } tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -axum = "0.7" +axum = { workspace = true } libp2p = { path = "../libp2p", features = [ "ping", "noise", "tls", "rsa", "macros", "websocket", "tokio", "yamux", "tcp", "dns", "identify", "quic"] } libp2p-mplex = { path = "../muxers/mplex" } libp2p-noise = { workspace = true } @@ -32,7 +32,7 @@ redis = { version = "0.24.0", default-features = false, features = [ ] } rust-embed = "8.11" serde_json = "1" -thirtyfour = "=0.32.0" # https://github.com/stevepryde/thirtyfour/issues/169 +thirtyfour = "0.36" tokio = { workspace = true, features = ["full"] } tower-http = { version = "0.5", features = ["cors", "fs", "trace"] } tracing = { workspace = true } @@ -48,7 +48,7 @@ wasm-logger = { version = "0.2.0" } web-time = { workspace = true } reqwest = { version = "0.12", features = ["json"] } console_error_panic_hook = { version = "0.1.7" } -futures-timer = "3.0.3" +futures-timer = { workspace = true } [lints] workspace = true diff --git a/libp2p/Cargo.toml b/libp2p/Cargo.toml index aae734f8090..01627e14e76 100644 --- a/libp2p/Cargo.toml +++ b/libp2p/Cargo.toml @@ -142,7 +142,7 @@ tracing-subscriber = { workspace = true, features = ["env-filter"] } [target.'cfg(target_family="wasm")'.dependencies] futures-timer = { workspace = true, features = ["wasm-bindgen"] } -getrandom = { workspace = true} +getrandom = { workspace = true } # Passing arguments to the docsrs builder in order to properly document cfg's. # More information: https://docs.rs/about/builds#cross-compiling diff --git a/misc/connection-limits/Cargo.toml b/misc/connection-limits/Cargo.toml index 7048a6f1ee6..6741e95dba2 100644 --- a/misc/connection-limits/Cargo.toml +++ b/misc/connection-limits/Cargo.toml @@ -21,7 +21,7 @@ libp2p-ping = { workspace = true } libp2p-swarm-derive = { path = "../../swarm-derive" } libp2p-swarm-test = { path = "../../swarm-test" } quickcheck = { workspace = true } -rand = "0.8.5" +rand = { workspace = true } [lints] workspace = true diff --git a/misc/memory-connection-limits/Cargo.toml b/misc/memory-connection-limits/Cargo.toml index a55e6c564b9..5530a679a53 100644 --- a/misc/memory-connection-limits/Cargo.toml +++ b/misc/memory-connection-limits/Cargo.toml @@ -14,7 +14,7 @@ memory-stats = { version = "1", features = ["always_use_statm"] } libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } libp2p-identity = { workspace = true, features = ["peerid"] } -sysinfo = "0.33" +sysinfo = "0.38" tracing = { workspace = true } [dev-dependencies] diff --git a/misc/quick-protobuf-codec/Cargo.toml b/misc/quick-protobuf-codec/Cargo.toml index 2afeb82ee31..965d7ec9f20 100644 --- a/misc/quick-protobuf-codec/Cargo.toml +++ b/misc/quick-protobuf-codec/Cargo.toml @@ -18,7 +18,7 @@ unsigned-varint = { workspace = true, features = ["std"] } quick-protobuf = "0.8" [dev-dependencies] -criterion = "0.5.1" +criterion = { workspace = true } futures = { workspace = true } quickcheck = { workspace = true } diff --git a/misc/server/Cargo.toml b/misc/server/Cargo.toml index 02cb1c8637e..9145be3639a 100644 --- a/misc/server/Cargo.toml +++ b/misc/server/Cargo.toml @@ -14,7 +14,7 @@ license = "MIT" base64 = "0.22" clap = { version = "4.6.1", features = ["derive"] } futures = { workspace = true } -axum = "0.7" +axum = { workspace = true } libp2p = { workspace = true, features = [ "autonat", "dns", diff --git a/misc/webrtc-utils/Cargo.toml b/misc/webrtc-utils/Cargo.toml index 35e88c87d67..08c0bd7fb5c 100644 --- a/misc/webrtc-utils/Cargo.toml +++ b/misc/webrtc-utils/Cargo.toml @@ -20,14 +20,14 @@ libp2p-identity = { workspace = true } libp2p-noise = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } -rand = "0.8" +rand = { workspace = true } serde = { version = "1.0", features = ["derive"] } sha2 = "0.10.8" tinytemplate = "1.2" tracing = { workspace = true } [dev-dependencies] -hex-literal = "0.4" +hex-literal = { workspace = true } [lints] workspace = true diff --git a/muxers/mplex/Cargo.toml b/muxers/mplex/Cargo.toml index 07bc2d95579..a9cd75c5445 100644 --- a/muxers/mplex/Cargo.toml +++ b/muxers/mplex/Cargo.toml @@ -18,14 +18,14 @@ libp2p-core = { workspace = true } libp2p-identity = { workspace = true } nohash-hasher = "0.2" parking_lot = "0.12" -rand = "0.8" +rand = { workspace = true } smallvec = "1.15.1" tracing = { workspace = true } unsigned-varint = { workspace = true, features = ["asynchronous_codec"] } [dev-dependencies] tokio = { workspace = true, features = ["rt", "rt-multi-thread", "macros"] } -criterion = "0.5" +criterion = { workspace = true } futures = { workspace = true } libp2p-identity = { workspace = true, features = ["rand"] } libp2p-muxer-test-harness = { path = "../test-harness" } diff --git a/muxers/test-harness/Cargo.toml b/muxers/test-harness/Cargo.toml index da487af44c0..423985d64dc 100644 --- a/muxers/test-harness/Cargo.toml +++ b/muxers/test-harness/Cargo.toml @@ -13,7 +13,7 @@ release = false [dependencies] libp2p-core = { workspace = true } futures = { workspace = true } -futures-timer = "3.0.3" +futures-timer = { workspace = true } futures_ringbuf = "0.4.0" tracing = { workspace = true } diff --git a/protocols/autonat/Cargo.toml b/protocols/autonat/Cargo.toml index a5691d227f3..3c058d0b2fd 100644 --- a/protocols/autonat/Cargo.toml +++ b/protocols/autonat/Cargo.toml @@ -20,7 +20,7 @@ asynchronous-codec = { workspace = true } either = { version = "1.9.0", optional = true } futures = { workspace = true } futures-bounded = { workspace = true, optional = true } -futures-timer = "3.0" +futures-timer = { workspace = true } web-time = { workspace = true, optional = true } libp2p-core = { workspace = true } libp2p-identity = { workspace = true } @@ -29,7 +29,7 @@ libp2p-swarm = { workspace = true } quick-protobuf = "0.8" tracing = { workspace = true } quick-protobuf-codec = { workspace = true } -rand = "0.8" +rand = { workspace = true } rand_core = { version = "0.6", optional = true } thiserror = { workspace = true, optional = true } diff --git a/protocols/dcutr/Cargo.toml b/protocols/dcutr/Cargo.toml index dc771a1cd01..cd5a4b8157f 100644 --- a/protocols/dcutr/Cargo.toml +++ b/protocols/dcutr/Cargo.toml @@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"] asynchronous-codec = { workspace = true } either = "1.11.0" futures = { workspace = true } -futures-timer = "3.0" +futures-timer = { workspace = true } web-time = { workspace = true } libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } diff --git a/protocols/floodsub/Cargo.toml b/protocols/floodsub/Cargo.toml index 0df63ee1a0a..c398b87801b 100644 --- a/protocols/floodsub/Cargo.toml +++ b/protocols/floodsub/Cargo.toml @@ -21,7 +21,7 @@ libp2p-swarm = { workspace = true } libp2p-identity = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } -rand = "0.8" +rand = { workspace = true } smallvec = "1.15.1" thiserror = { workspace = true } tracing = { workspace = true } diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index c182634e447..6d7d468b7fe 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -23,7 +23,7 @@ bytes.workspace = true either = "1.11" fnv = "1.0.7" futures = { workspace = true } -futures-timer = { workspace = true} +futures-timer = { workspace = true } hashlink = { workspace = true } hex_fmt = "0.3.0" web-time = { workspace = true } @@ -32,7 +32,7 @@ libp2p-identity = { workspace = true, features = ["rand"] } libp2p-swarm = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } -rand = "0.8" +rand = { workspace = true } regex = "1.12.3" serde = { version = "1", optional = true, features = ["derive"] } sha2 = "0.10.8" diff --git a/protocols/identify/Cargo.toml b/protocols/identify/Cargo.toml index 94977d6e44c..a1eb57bd9a2 100644 --- a/protocols/identify/Cargo.toml +++ b/protocols/identify/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] asynchronous-codec = { workspace = true } futures = { workspace = true } -futures-timer = "3.0.3" +futures-timer = { workspace = true } futures-bounded = { workspace = true } libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index 87864489274..cf1ea673dcf 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -22,11 +22,11 @@ futures-bounded = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } libp2p-identity = { workspace = true, features = ["rand"] } -rand = "0.8" +rand = { workspace = true } sha2 = "0.10.8" smallvec = "1.15.1" uint = "0.10" -futures-timer = "3.0.3" +futures-timer = { workspace = true } web-time = { workspace = true } serde = { version = "1.0", optional = true, features = ["derive"] } thiserror = { workspace = true } @@ -34,7 +34,7 @@ tracing = { workspace = true } [dev-dependencies] tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] } -futures-timer = "3.0" +futures-timer = { workspace = true } libp2p-identify = { path = "../identify" } libp2p-noise = { workspace = true } libp2p-swarm = { path = "../../swarm", features = ["macros", "tokio"] } diff --git a/protocols/mdns/Cargo.toml b/protocols/mdns/Cargo.toml index 68fad307d93..e7bfa7c04df 100644 --- a/protocols/mdns/Cargo.toml +++ b/protocols/mdns/Cargo.toml @@ -16,7 +16,7 @@ if-watch = { workspace = true } libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } libp2p-identity = { workspace = true } -rand = "0.8.3" +rand = { workspace = true } smallvec = "1.15.1" socket2 = { version = "0.6.3", features = ["all"] } tokio = { workspace = true, default-features = false, features = ["net", "time"], optional = true } diff --git a/protocols/perf/Cargo.toml b/protocols/perf/Cargo.toml index 00674984c15..be4a6324c2f 100644 --- a/protocols/perf/Cargo.toml +++ b/protocols/perf/Cargo.toml @@ -15,7 +15,7 @@ anyhow = "1" clap = { version = "4.6.1", features = ["derive"] } futures = { workspace = true } futures-bounded = { workspace = true } -futures-timer = "3.0" +futures-timer = { workspace = true } web-time = { workspace = true } libp2p = { workspace = true, features = ["tokio", "tcp", "quic", "tls", "yamux", "dns"] } libp2p-core = { workspace = true } diff --git a/protocols/ping/Cargo.toml b/protocols/ping/Cargo.toml index 8b00cd9287f..03e51f8ce23 100644 --- a/protocols/ping/Cargo.toml +++ b/protocols/ping/Cargo.toml @@ -12,12 +12,12 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures = { workspace = true } -futures-timer = "3.0.3" +futures-timer = { workspace = true } web-time = { workspace = true } libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } libp2p-identity = { workspace = true } -rand = "0.8" +rand = { workspace = true } tracing = { workspace = true } [dev-dependencies] diff --git a/protocols/relay/Cargo.toml b/protocols/relay/Cargo.toml index 779778ce7af..cd2209b3437 100644 --- a/protocols/relay/Cargo.toml +++ b/protocols/relay/Cargo.toml @@ -15,7 +15,7 @@ asynchronous-codec = { workspace = true } bytes.workspace = true either = "1.12.0" futures = { workspace = true } -futures-timer = "3" +futures-timer = { workspace = true } futures-bounded = { workspace = true } web-time = { workspace = true } libp2p-core = { workspace = true } @@ -23,7 +23,7 @@ libp2p-swarm = { workspace = true } libp2p-identity = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } -rand = "0.8.4" +rand = { workspace = true } static_assertions = "1" thiserror = { workspace = true } tracing = { workspace = true } diff --git a/protocols/rendezvous/Cargo.toml b/protocols/rendezvous/Cargo.toml index 86952d8c303..35190fa426b 100644 --- a/protocols/rendezvous/Cargo.toml +++ b/protocols/rendezvous/Cargo.toml @@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"] asynchronous-codec = { workspace = true } bimap = "0.6.3" futures = { workspace = true, features = ["std"] } -futures-timer = "3.0.3" +futures-timer = { workspace = true } hashlink = { workspace = true } web-time = { workspace = true } libp2p-core = { workspace = true } @@ -23,15 +23,15 @@ libp2p-identity = { workspace = true } libp2p-request-response = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } -rand = "0.8" +rand = { workspace = true } thiserror = { workspace = true } tracing = { workspace = true } [dev-dependencies] libp2p-swarm = { workspace = true, features = ["macros", "tokio"] } libp2p-swarm-test = { path = "../../swarm-test" } -rand = "0.8" -tokio = { workspace = true, features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net" ] } +rand = { workspace = true } +tokio = { workspace = true, features = ["rt-multi-thread", "time", "macros", "sync", "process", "fs", "net"] } tracing-subscriber = { workspace = true, features = ["env-filter"] } # Passing arguments to the docsrs builder in order to properly document cfg's. diff --git a/protocols/request-response/Cargo.toml b/protocols/request-response/Cargo.toml index 8d7056a719c..80029367f5b 100644 --- a/protocols/request-response/Cargo.toml +++ b/protocols/request-response/Cargo.toml @@ -11,12 +11,12 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -cbor4ii = { version = "0.3.2", features = ["serde1", "use_std"], optional = true } +cbor4ii = { version = "1.2", features = ["serde1", "use_std"], optional = true } futures = { workspace = true } libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } libp2p-identity = { workspace = true } -rand = "0.8" +rand = { workspace = true } serde = { version = "1.0", optional = true } serde_json = { version = "1.0.149", optional = true } smallvec = "1.15.1" @@ -30,7 +30,7 @@ cbor = ["dep:serde", "dep:cbor4ii", "libp2p-swarm/macros"] [dev-dependencies] anyhow = "1.0.102" tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] } -rand = "0.8" +rand = { workspace = true } libp2p-swarm-test = { path = "../../swarm-test" } futures_ringbuf = "0.4.0" serde = { version = "1.0", features = ["derive"] } diff --git a/protocols/stream/Cargo.toml b/protocols/stream/Cargo.toml index 73cf8ea85da..ce36882151f 100644 --- a/protocols/stream/Cargo.toml +++ b/protocols/stream/Cargo.toml @@ -15,7 +15,7 @@ libp2p-core = { workspace = true } libp2p-identity = { workspace = true, features = ["peerid"] } libp2p-swarm = { workspace = true } tracing = { workspace = true } -rand = "0.8" +rand = { workspace = true } [dev-dependencies] libp2p-swarm-test = { workspace = true } diff --git a/protocols/upnp/Cargo.toml b/protocols/upnp/Cargo.toml index 86a67ef90b2..652153ceda8 100644 --- a/protocols/upnp/Cargo.toml +++ b/protocols/upnp/Cargo.toml @@ -12,8 +12,8 @@ publish = true [dependencies] futures = { workspace = true } -futures-timer = "3.0.3" -igd-next = "0.16.1" +futures-timer = { workspace = true } +igd-next = "0.17.0" libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } tokio = { workspace = true, default-features = false, features = ["rt"], optional = true } diff --git a/swarm-test/Cargo.toml b/swarm-test/Cargo.toml index 5016806612e..f0262310a75 100644 --- a/swarm-test/Cargo.toml +++ b/swarm-test/Cargo.toml @@ -21,7 +21,7 @@ libp2p-tcp = { workspace = true } libp2p-yamux = { workspace = true } futures = { workspace = true } tracing = { workspace = true } -futures-timer = "3.0.3" +futures-timer = { workspace = true } [features] default = ["tokio"] diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index 22c39aeb64b..d49b2330e01 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -14,14 +14,14 @@ categories = ["network-programming", "asynchronous"] either = "1.11.0" fnv = "1.0" futures = { workspace = true } -futures-timer = "3.0.3" +futures-timer = { workspace = true } web-time = { workspace = true } hashlink = { workspace = true } libp2p-core = { workspace = true } libp2p-identity = { workspace = true } libp2p-swarm-derive = { workspace = true, optional = true } multistream-select = { workspace = true } -rand = "0.8" +rand = { workspace = true } smallvec = "1.15.1" tracing = { workspace = true } @@ -29,8 +29,8 @@ tracing = { workspace = true } tokio = { workspace = true, features = ["rt"], optional = true } [target.'cfg(target_family="wasm")'.dependencies] -getrandom = { workspace = true} -wasm-bindgen-futures = { workspace = true} +getrandom = { workspace = true } +wasm-bindgen-futures = { workspace = true } [features] macros = ["dep:libp2p-swarm-derive"] @@ -39,16 +39,16 @@ tokio = ["dep:tokio"] [dev-dependencies] either = "1.11.0" futures = { workspace = true } -libp2p-identify = { path = "../protocols/identify" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. +libp2p-identify = { path = "../protocols/identify" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. libp2p-identity = { workspace = true, features = ["ed25519"] } -libp2p-kad = { path = "../protocols/kad" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. -libp2p-ping = { path = "../protocols/ping" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. -libp2p-plaintext = { path = "../transports/plaintext" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. -libp2p-swarm-derive = { path = "../swarm-derive" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. -libp2p-swarm-test = { path = "../swarm-test", features = ["tokio"] }# Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. -libp2p-yamux = { path = "../muxers/yamux" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. +libp2p-kad = { path = "../protocols/kad" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. +libp2p-ping = { path = "../protocols/ping" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. +libp2p-plaintext = { path = "../transports/plaintext" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. +libp2p-swarm-derive = { path = "../swarm-derive" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. +libp2p-swarm-test = { path = "../swarm-test", features = ["tokio"] } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. +libp2p-yamux = { path = "../muxers/yamux" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing. quickcheck = { workspace = true } -criterion = { version = "0.5", features = ["async_tokio"] } +criterion = { workspace = true, features = ["async_tokio"] } trybuild = "1.0.116" tokio = { workspace = true, features = ["time", "rt", "macros", "rt-multi-thread"] } tracing-subscriber = { workspace = true, features = ["env-filter"] } diff --git a/transports/noise/Cargo.toml b/transports/noise/Cargo.toml index 6c67b7b3779..da1f245265d 100644 --- a/transports/noise/Cargo.toml +++ b/transports/noise/Cargo.toml @@ -17,7 +17,7 @@ libp2p-identity = { workspace = true, features = ["ed25519"] } multiaddr = { workspace = true } multihash = { workspace = true } quick-protobuf = "0.8" -rand = "0.8.3" +rand = { workspace = true } static_assertions = "1" thiserror = { workspace = true } tracing = { workspace = true } diff --git a/transports/pnet/Cargo.toml b/transports/pnet/Cargo.toml index fbb7633603d..a4c6293cac2 100644 --- a/transports/pnet/Cargo.toml +++ b/transports/pnet/Cargo.toml @@ -15,12 +15,12 @@ futures = { workspace = true } salsa20 = "0.10" sha3 = "0.10" tracing = { workspace = true } -rand = "0.8" +rand = { workspace = true } pin-project = "1.1.12" [dev-dependencies] libp2p-core = { workspace = true } -libp2p-identity = { workspace = true, features = ["ed25519", "rsa", "ecdsa","secp256k1", "rand"] } +libp2p-identity = { workspace = true, features = ["ed25519", "rsa", "ecdsa", "secp256k1", "rand"] } libp2p-noise = { workspace = true } libp2p-swarm = { workspace = true, features = ["tokio"] } libp2p-tcp = { workspace = true, features = ["tokio"] } diff --git a/transports/quic/Cargo.toml b/transports/quic/Cargo.toml index 9e98ec13667..d4732de2f0f 100644 --- a/transports/quic/Cargo.toml +++ b/transports/quic/Cargo.toml @@ -10,13 +10,13 @@ license = "MIT" [dependencies] futures = { workspace = true } -futures-timer = "3.0.3" +futures-timer = { workspace = true } if-watch = { workspace = true } libp2p-core = { workspace = true } libp2p-tls = { workspace = true } libp2p-identity = { workspace = true } quinn = { version = "0.11.9", default-features = false, features = ["rustls", "futures-io"] } -rand = "0.8.5" +rand = { workspace = true } rustls = { version = "0.23.28", default-features = false } thiserror = { workspace = true } tokio = { workspace = true, default-features = false, features = ["net", "rt", "time"], optional = true } diff --git a/transports/tcp/Cargo.toml b/transports/tcp/Cargo.toml index bb4e1a2ab1b..c0cad26d0d5 100644 --- a/transports/tcp/Cargo.toml +++ b/transports/tcp/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures = { workspace = true } -futures-timer = "3.0" +futures-timer = { workspace = true } if-watch = { workspace = true } libc = "0.2.186" libp2p-core = { workspace = true } diff --git a/transports/tls/CHANGELOG.md b/transports/tls/CHANGELOG.md index 94848e243b2..4f250ee35ad 100644 --- a/transports/tls/CHANGELOG.md +++ b/transports/tls/CHANGELOG.md @@ -1,5 +1,8 @@ ## 0.7.0 +- Replace deprecated `webpki::Error` variants with their new context-based equivalents. + See [PR 6355](https://github.com/libp2p/rust-libp2p/pull/6355). + - Raise MSRV to 1.88.0. See [PR 6273](https://github.com/libp2p/rust-libp2p/pull/6273). diff --git a/transports/tls/Cargo.toml b/transports/tls/Cargo.toml index 3fca147a10f..836f9b40401 100644 --- a/transports/tls/Cargo.toml +++ b/transports/tls/Cargo.toml @@ -17,8 +17,8 @@ rcgen = { workspace = true } ring = { workspace = true } thiserror = { workspace = true } webpki = { version = "0.103", package = "rustls-webpki", features = ["std"] } -x509-parser = "0.17.0" -yasna = "0.5.2" +x509-parser = "0.18" +yasna = "0.6" # Exposed dependencies. Breaking changes to these are breaking changes to us. [dependencies.rustls] @@ -28,7 +28,7 @@ features = ["ring", "std"] # Must enable this to allow for custom verification c [dev-dependencies] -hex-literal = "0.4.1" +hex-literal = { workspace = true } libp2p-core = { workspace = true } libp2p-identity = { workspace = true, features = ["ed25519", "rsa", "secp256k1", "ecdsa", "rand"] } libp2p-swarm = { workspace = true, features = ["tokio"] } diff --git a/transports/tls/src/certificate.rs b/transports/tls/src/certificate.rs index 31c2a1bbc3f..c678f60990e 100644 --- a/transports/tls/src/certificate.rs +++ b/transports/tls/src/certificate.rs @@ -273,6 +273,27 @@ fn make_libp2p_extension( Ok(ext) } +/// Helper to create an `UnsupportedSignatureAlgorithmContext` error with the given OID. +fn unsupported_signature_algorithm(oid: Option<&der_parser::oid::Oid<'_>>) -> webpki::Error { + use rustls::pki_types::alg_id; + webpki::Error::UnsupportedSignatureAlgorithmContext( + webpki::UnsupportedSignatureAlgorithmContext { + signature_algorithm_id: oid.map(|oid| oid.as_bytes().to_vec()).unwrap_or_default(), + supported_algorithms: vec![ + alg_id::RSA_PKCS1_SHA256, + alg_id::RSA_PKCS1_SHA384, + alg_id::RSA_PKCS1_SHA512, + alg_id::RSA_PSS_SHA256, + alg_id::RSA_PSS_SHA384, + alg_id::RSA_PSS_SHA512, + alg_id::ECDSA_SHA256, + alg_id::ECDSA_SHA384, + alg_id::ED25519, + ], + }, + ) +} + impl P2pCertificate<'_> { /// The [`PeerId`] of the remote peer. pub fn peer_id(&self) -> PeerId { @@ -307,7 +328,7 @@ impl P2pCertificate<'_> { let current_signature_scheme = self.signature_scheme()?; if signature_scheme != current_signature_scheme { // This certificate was signed with a different signature scheme - return Err(webpki::Error::UnsupportedSignatureAlgorithmForPublicKey); + return Err(webpki::Error::SignatureAlgorithmMismatch); } let verification_algorithm: &dyn signature::VerificationAlgorithm = match signature_scheme { @@ -318,7 +339,7 @@ impl P2pCertificate<'_> { ECDSA_NISTP384_SHA384 => &signature::ECDSA_P384_SHA384_ASN1, ECDSA_NISTP521_SHA512 => { // See https://github.com/briansmith/ring/issues/824 - return Err(webpki::Error::UnsupportedSignatureAlgorithm); + return Err(unsupported_signature_algorithm(None)); } RSA_PSS_SHA256 => &signature::RSA_PSS_2048_8192_SHA256, RSA_PSS_SHA384 => &signature::RSA_PSS_2048_8192_SHA384, @@ -326,14 +347,18 @@ impl P2pCertificate<'_> { ED25519 => &signature::ED25519, ED448 => { // See https://github.com/briansmith/ring/issues/463 - return Err(webpki::Error::UnsupportedSignatureAlgorithm); + return Err(unsupported_signature_algorithm(None)); } // Similarly, hash functions with an output length less than 256 bits // MUST NOT be used, due to the possibility of collision attacks. // In particular, MD5 and SHA1 MUST NOT be used. - RSA_PKCS1_SHA1 => return Err(webpki::Error::UnsupportedSignatureAlgorithm), - ECDSA_SHA1_Legacy => return Err(webpki::Error::UnsupportedSignatureAlgorithm), - _ => return Err(webpki::Error::UnsupportedSignatureAlgorithm), + RSA_PKCS1_SHA1 => { + return Err(unsupported_signature_algorithm(Some( + &oid_registry::OID_PKCS1_SHA1WITHRSA, + ))); + } + ECDSA_SHA1_Legacy => return Err(unsupported_signature_algorithm(None)), + _ => return Err(unsupported_signature_algorithm(None)), }; let spki = &self.certificate.tbs_certificate.subject_pki; let key = signature::UnparsedPublicKey::new( @@ -446,7 +471,9 @@ impl P2pCertificate<'_> { // Default hash algo is SHA-1, however: // In particular, MD5 and SHA1 MUST NOT be used. - return Err(webpki::Error::UnsupportedSignatureAlgorithm); + return Err(unsupported_signature_algorithm(Some( + &signature_algorithm.algorithm, + ))); } } @@ -472,7 +499,9 @@ impl P2pCertificate<'_> { { return Ok(ECDSA_NISTP521_SHA512); } - return Err(webpki::Error::UnsupportedSignatureAlgorithm); + return Err(unsupported_signature_algorithm(Some( + &signature_algorithm.algorithm, + ))); } if signature_algorithm.algorithm == OID_SIG_ED25519 { @@ -482,7 +511,9 @@ impl P2pCertificate<'_> { return Ok(ED448); } - Err(webpki::Error::UnsupportedSignatureAlgorithm) + Err(unsupported_signature_algorithm(Some( + &signature_algorithm.algorithm, + ))) } } diff --git a/transports/webrtc/Cargo.toml b/transports/webrtc/Cargo.toml index 7a963d81cc9..77c28338d90 100644 --- a/transports/webrtc/Cargo.toml +++ b/transports/webrtc/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] async-trait = "0.1" futures = { workspace = true } -futures-timer = "3" +futures-timer = { workspace = true } hex = "0.4" if-watch = { workspace = true } libp2p-core = { workspace = true } @@ -21,9 +21,9 @@ libp2p-noise = { workspace = true } libp2p-identity = { workspace = true } libp2p-webrtc-utils = { workspace = true } multihash = { workspace = true } -rand = "0.8" +rand = { workspace = true } rcgen = { workspace = true } -stun = "0.7" +stun = "0.17.0" thiserror = { workspace = true } tokio = { workspace = true, features = ["net"], optional = true } tokio-util = { version = "0.7", features = ["compat"], optional = true } diff --git a/transports/webtransport-websys/Cargo.toml b/transports/webtransport-websys/Cargo.toml index b03313f2500..06cf067cda4 100644 --- a/transports/webtransport-websys/Cargo.toml +++ b/transports/webtransport-websys/Cargo.toml @@ -25,7 +25,7 @@ send_wrapper = { version = "0.6.0", features = ["futures"] } thiserror = { workspace = true } tracing = { workspace = true } wasm-bindgen = "0.2.93" -wasm-bindgen-futures = "0.4.43" +wasm-bindgen-futures = { workspace = true } web-sys = { version = "0.3.70", features = [ "ReadableStreamDefaultReader", "WebTransport", diff --git a/wasm-tests/webtransport-tests/Cargo.toml b/wasm-tests/webtransport-tests/Cargo.toml index 320b3c89e2c..a36561161b0 100644 --- a/wasm-tests/webtransport-tests/Cargo.toml +++ b/wasm-tests/webtransport-tests/Cargo.toml @@ -18,8 +18,8 @@ libp2p-webtransport-websys = { workspace = true } multiaddr = { workspace = true } multihash = { workspace = true } wasm-bindgen = "0.2.93" -wasm-bindgen-futures = { workspace = true} -wasm-bindgen-test = "0.3.43" +wasm-bindgen-futures = { workspace = true } +wasm-bindgen-test = "0.3.50" web-sys = { version = "0.3.70", features = ["Response", "Window"] } [lints]