diff --git a/core/Cargo.toml b/core/Cargo.toml index 2821f59..00ce060 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -55,7 +55,10 @@ reqwest = { version = "0.12", default-features = false, features = ["json"] } getrandom = "0.4.3" getrandom_02 = { package = "getrandom", version = "0.2", features = ["js"] } wasm-bindgen-futures = "0.4" -iroh = { version = "1", optional = true, default-features = false } +# Browser iroh: default-features off (drops native portmapper/apple-datapath), +# but keep tls-ring — ring works on wasm and presets::N0 needs it. (Matches n0's +# own browser-chat example.) +iroh = { version = "1", optional = true, default-features = false, features = ["tls-ring"] } iroh-gossip = { version = "0.101", optional = true, default-features = false, features = ["net"] } iroh-blobs = { version = "0.103", optional = true, default-features = false }