Skip to content

Commit 4efedc8

Browse files
fix iroh-base relay feature deps
1 parent c6ed4d9 commit 4efedc8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

iroh-base/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ base32 = ["dep:data-encoding", "dep:postcard"]
5353
redb = ["dep:redb"]
5454
key = ["dep:ed25519-dalek", "dep:once_cell", "dep:rand", "dep:rand_core", "dep:ssh-key", "dep:ttl_cache", "dep:aead", "dep:crypto_box", "dep:zeroize", "dep:url", "dep:derive_more", "dep:getrandom"]
5555
wasm = ["getrandom?/js"]
56-
relay = []
56+
relay = ["dep:url", "dep:derive_more"]
5757

5858
[package.metadata.docs.rs]
5959
all-features = true

iroh-base/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pub mod node_addr;
1616
#[cfg(feature = "relay")]
1717
#[cfg_attr(iroh_docsrs, doc(cfg(feature = "relay")))]
1818
pub mod relay_map;
19+
#[cfg(any(feature = "relay", feature = "key"))]
1920
mod relay_url;
2021
#[cfg(feature = "base32")]
2122
#[cfg_attr(iroh_docsrs, doc(cfg(feature = "base32")))]

0 commit comments

Comments
 (0)