Enable tls-ring feature on iroh

This commit is contained in:
link2xt
2026-04-27 21:41:51 +02:00
parent 667d895a1a
commit e3bb0febb7
2 changed files with 32 additions and 1 deletions

31
Cargo.lock generated
View File

@@ -2276,8 +2276,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"js-sys",
"libc", "libc",
"wasi 0.11.0+wasi-snapshot-preview1", "wasi 0.11.0+wasi-snapshot-preview1",
"wasm-bindgen",
] ]
[[package]] [[package]]
@@ -2357,6 +2359,25 @@ dependencies = [
"subtle", "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]] [[package]]
name = "half" name = "half"
version = "2.6.0" version = "2.6.0"
@@ -2444,19 +2465,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e232f503c4cfe3f4ea6594971255ecab9f6a0080c4c8e0e17630cc701322aa4" checksum = "1e232f503c4cfe3f4ea6594971255ecab9f6a0080c4c8e0e17630cc701322aa4"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"bytes",
"cfg-if", "cfg-if",
"data-encoding", "data-encoding",
"futures-channel", "futures-channel",
"futures-io", "futures-io",
"futures-util", "futures-util",
"h2",
"hickory-proto", "hickory-proto",
"http",
"idna", "idna",
"ipnet", "ipnet",
"jni", "jni",
"rand 0.10.1", "rand 0.10.1",
"rustls",
"thiserror 2.0.18", "thiserror 2.0.18",
"tinyvec", "tinyvec",
"tokio", "tokio",
"tokio-rustls",
"tracing", "tracing",
"url", "url",
] ]
@@ -2500,10 +2526,12 @@ dependencies = [
"parking_lot", "parking_lot",
"rand 0.10.1", "rand 0.10.1",
"resolv-conf", "resolv-conf",
"rustls",
"smallvec", "smallvec",
"system-configuration", "system-configuration",
"thiserror 2.0.18", "thiserror 2.0.18",
"tokio", "tokio",
"tokio-rustls",
"tracing", "tracing",
] ]
@@ -3805,6 +3833,7 @@ dependencies = [
"identity-hash", "identity-hash",
"lru-slab", "lru-slab",
"rand 0.10.1", "rand 0.10.1",
"ring",
"rustc-hash", "rustc-hash",
"rustls", "rustls",
"rustls-pki-types", "rustls-pki-types",
@@ -5092,6 +5121,7 @@ checksum = "758025cb5fccfd3bc2fd74708fd4682be41d99e5dff73c377c0646c6012c73a4"
dependencies = [ dependencies = [
"log", "log",
"once_cell", "once_cell",
"ring",
"rustls-pki-types", "rustls-pki-types",
"rustls-webpki", "rustls-webpki",
"subtle", "subtle",
@@ -6211,6 +6241,7 @@ dependencies = [
"http", "http",
"httparse", "httparse",
"rand 0.10.1", "rand 0.10.1",
"ring",
"rustls-pki-types", "rustls-pki-types",
"sha1_smol", "sha1_smol",
"simdutf8", "simdutf8",

View File

@@ -67,7 +67,7 @@ hyper = "1"
hyper-util = "0.1.16" hyper-util = "0.1.16"
image = { version = "0.25.6", default-features=false, features = ["gif", "jpeg", "ico", "png", "pnm", "webp", "bmp"] } 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-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" kamadak-exif = "0.6.1"
libc = { workspace = true } libc = { workspace = true }
mail-builder = { version = "0.4.4", default-features = false } mail-builder = { version = "0.4.4", default-features = false }