Skip to content

Commit 687d7bb

Browse files
committed
Undo changes to iroh/
1 parent b5efa19 commit 687d7bb

File tree

3 files changed

+14
-34
lines changed

3 files changed

+14
-34
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

iroh/Cargo.toml

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,22 @@ futures-lite = "2.5"
3939
futures-sink = "0.3"
4040
futures-util = "0.3"
4141
governor = "0.7.0"
42+
hickory-resolver = { version = "=0.25.0-alpha.4" }
4243
http = "1"
4344
http-body-util = "0.1.0"
4445
hyper = { version = "1", features = ["server", "client", "http1"] }
4546
hyper-util = "0.1.1"
47+
igd-next = { version = "0.15.1", features = ["aio_tokio"] }
4648
iroh-base = { version = "0.30.0", default-features = false, features = ["key", "relay"], path = "../iroh-base" }
4749
iroh-relay = { version = "0.30", path = "../iroh-relay", default-features = false }
50+
netdev = "0.31.0"
51+
netwatch = { version = "0.2.0" }
4852
pin-project = "1"
4953
pkarr = { version = "2", default-features = false, features = [
5054
"async",
5155
"relay",
5256
] }
57+
portmapper = { version = "0.3.0", default-features = false }
5358
quinn = { package = "iroh-quinn", version = "0.12.0" }
5459
quinn-proto = { package = "iroh-quinn-proto", version = "0.12.0" }
5560
quinn-udp = { package = "iroh-quinn-udp", version = "0.5.5" }
@@ -70,11 +75,18 @@ tokio = { version = "1", features = [
7075
"macros",
7176
"sync",
7277
"rt",
78+
"net",
79+
"fs",
80+
"io-std",
81+
"signal",
82+
"process",
7383
] }
7484
tokio-rustls = { version = "0.26", default-features = false, features = [
7585
"logging",
7686
"ring",
7787
] }
88+
tokio-stream = { version = "0.1.15" }
89+
tokio-tungstenite = "0.21" # avoid duplicating this dependency as long as tokio-tungstenite-wasm isn't updated
7890
tokio-tungstenite-wasm = "0.3"
7991
tokio-util = { version = "0.7", features = ["io-util", "io", "codec", "rt"] }
8092
tracing = "0.1"
@@ -83,6 +95,7 @@ webpki = { package = "rustls-webpki", version = "0.102" }
8395
webpki-roots = "0.26"
8496
x509-parser = "0.16"
8597
z32 = "1.0.3"
98+
net-report = { package = "iroh-net-report", path = "../iroh-net-report", version = "0.30", default-features = false }
8699

87100
# metrics
88101
iroh-metrics = { version = "0.30", default-features = false }
@@ -98,27 +111,6 @@ tracing-subscriber = { version = "0.3", features = [
98111
indicatif = { version = "0.17", features = ["tokio"], optional = true }
99112
parse-size = { version = "=1.0.0", optional = true } # pinned version to avoid bumping msrv to 1.81
100113

101-
# non-wasm-in-browser dependencies
102-
[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies]
103-
hickory-resolver = { version = "=0.25.0-alpha.4" }
104-
igd-next = { version = "0.15.1", features = ["aio_tokio"] }
105-
netdev = { version = "0.31.0" }
106-
netwatch = { version = "0.2.0" }
107-
net-report = { package = "iroh-net-report", path = "../iroh-net-report", version = "0.30", default-features = false }
108-
portmapper = { version = "0.3.0", default-features = false }
109-
tokio-stream = { version = "0.1.15" }
110-
tokio = { version = "1", features = [
111-
"io-util",
112-
"macros",
113-
"sync",
114-
"rt",
115-
"net",
116-
"fs",
117-
"io-std",
118-
"signal",
119-
"process",
120-
] }
121-
122114
[dev-dependencies]
123115
axum = { version = "0.7" }
124116
clap = { version = "4", features = ["derive"] }
@@ -140,9 +132,6 @@ serde_json = "1"
140132
testresult = "0.4.0"
141133
iroh-relay = { path = "../iroh-relay", default-features = false, features = ["test-utils", "server"] }
142134

143-
[build-dependencies]
144-
cfg_aliases = { version = "0.2" }
145-
146135
[features]
147136
default = ["metrics", "discovery-pkarr-dht"]
148137
metrics = ["iroh-metrics/metrics", "iroh-relay/metrics", "net-report/metrics", "portmapper/metrics"]

iroh/build.rs

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)