diff --git a/Cargo.lock b/Cargo.lock index f82501e3d..912f790da 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2276,8 +2276,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ "cfg-if", + "js-sys", "libc", "wasi 0.11.0+wasi-snapshot-preview1", + "wasm-bindgen", ] [[package]] @@ -2357,6 +2359,25 @@ dependencies = [ "subtle", ] +[[package]] +name = "h2" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f44da3a8150a6703ed5d34e164b875fd14c2cdab9af1252a9a1020bde2bdc54" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + [[package]] name = "half" version = "2.6.0" @@ -2444,19 +2465,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e232f503c4cfe3f4ea6594971255ecab9f6a0080c4c8e0e17630cc701322aa4" dependencies = [ "async-trait", + "bytes", "cfg-if", "data-encoding", "futures-channel", "futures-io", "futures-util", + "h2", "hickory-proto", + "http", "idna", "ipnet", "jni", "rand 0.10.1", + "rustls", "thiserror 2.0.18", "tinyvec", "tokio", + "tokio-rustls", "tracing", "url", ] @@ -2500,10 +2526,12 @@ dependencies = [ "parking_lot", "rand 0.10.1", "resolv-conf", + "rustls", "smallvec", "system-configuration", "thiserror 2.0.18", "tokio", + "tokio-rustls", "tracing", ] @@ -3805,6 +3833,7 @@ dependencies = [ "identity-hash", "lru-slab", "rand 0.10.1", + "ring", "rustc-hash", "rustls", "rustls-pki-types", @@ -5092,6 +5121,7 @@ checksum = "758025cb5fccfd3bc2fd74708fd4682be41d99e5dff73c377c0646c6012c73a4" dependencies = [ "log", "once_cell", + "ring", "rustls-pki-types", "rustls-webpki", "subtle", @@ -6211,6 +6241,7 @@ dependencies = [ "http", "httparse", "rand 0.10.1", + "ring", "rustls-pki-types", "sha1_smol", "simdutf8", diff --git a/Cargo.toml b/Cargo.toml index 118722881..8445202dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,7 +67,7 @@ hyper = "1" hyper-util = "0.1.16" image = { version = "0.25.6", default-features=false, features = ["gif", "jpeg", "ico", "png", "pnm", "webp", "bmp"] } iroh-gossip = { version = "0.98", default-features = false, features = ["net"] } -iroh = { version = "0.98", default-features = false } +iroh = { version = "0.98", default-features = false, features = ["tls-ring"] } kamadak-exif = "0.6.1" libc = { workspace = true } mail-builder = { version = "0.4.4", default-features = false }