Skip to content

Commit 95de081

Browse files
committed
fix: feature flags in Cargo.toml
1 parent 95edf39 commit 95de081

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ futures-buffered ={ version = "0.2.9", optional = true }
4141
# for AbortOnDropHandle
4242
n0-future = { workspace = true, optional = true }
4343

44+
[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies]
45+
quinn = { workspace = true, optional = true, features = ["runtime-tokio"] }
46+
4447
[dev-dependencies]
4548
tracing-subscriber = { workspace = true, features = ["fmt"] }
4649
# used in the derive example. This must not be a main crate dep or else it will be circular!
@@ -80,6 +83,7 @@ postcard = { version = "1.1.1", default-features = false }
8083
serde = { version = "1", default-features = false }
8184
tracing = { version = "0.1.41", default-features = false }
8285
n0-future = { version = "0.1.2", default-features = false }
83-
tracing-subscriber = { version = "0.3.19", default-features = false }
86+
tracing-subscriber = { version = "0.3.19" }
8487
iroh = { version = "0.34" }
8588
quinn = { package = "iroh-quinn", version = "0.13.0", default-features = false }
89+

irpc-iroh/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "irpc-iroh"
33
version = "0.2.0"
4-
edition = "2024"
4+
edition = "2021"
55
authors = ["Rüdiger Klaehn <[email protected]>", "n0 team"]
66
keywords = ["api", "protocol", "network", "rpc"]
77
categories = ["network-programming"]

0 commit comments

Comments
 (0)