@@ -39,17 +39,22 @@ futures-lite = "2.5"
39
39
futures-sink = " 0.3"
40
40
futures-util = " 0.3"
41
41
governor = " 0.7.0"
42
+ hickory-resolver = { version = " =0.25.0-alpha.4" }
42
43
http = " 1"
43
44
http-body-util = " 0.1.0"
44
45
hyper = { version = " 1" , features = [" server" , " client" , " http1" ] }
45
46
hyper-util = " 0.1.1"
47
+ igd-next = { version = " 0.15.1" , features = [" aio_tokio" ] }
46
48
iroh-base = { version = " 0.30.0" , default-features = false , features = [" key" , " relay" ], path = " ../iroh-base" }
47
49
iroh-relay = { version = " 0.30" , path = " ../iroh-relay" , default-features = false }
50
+ netdev = " 0.31.0"
51
+ netwatch = { version = " 0.2.0" }
48
52
pin-project = " 1"
49
53
pkarr = { version = " 2" , default-features = false , features = [
50
54
" async" ,
51
55
" relay" ,
52
56
] }
57
+ portmapper = { version = " 0.3.0" , default-features = false }
53
58
quinn = { package = " iroh-quinn" , version = " 0.12.0" }
54
59
quinn-proto = { package = " iroh-quinn-proto" , version = " 0.12.0" }
55
60
quinn-udp = { package = " iroh-quinn-udp" , version = " 0.5.5" }
@@ -70,11 +75,18 @@ tokio = { version = "1", features = [
70
75
" macros" ,
71
76
" sync" ,
72
77
" rt" ,
78
+ " net" ,
79
+ " fs" ,
80
+ " io-std" ,
81
+ " signal" ,
82
+ " process" ,
73
83
] }
74
84
tokio-rustls = { version = " 0.26" , default-features = false , features = [
75
85
" logging" ,
76
86
" ring" ,
77
87
] }
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
78
90
tokio-tungstenite-wasm = " 0.3"
79
91
tokio-util = { version = " 0.7" , features = [" io-util" , " io" , " codec" , " rt" ] }
80
92
tracing = " 0.1"
@@ -83,6 +95,7 @@ webpki = { package = "rustls-webpki", version = "0.102" }
83
95
webpki-roots = " 0.26"
84
96
x509-parser = " 0.16"
85
97
z32 = " 1.0.3"
98
+ net-report = { package = " iroh-net-report" , path = " ../iroh-net-report" , version = " 0.30" , default-features = false }
86
99
87
100
# metrics
88
101
iroh-metrics = { version = " 0.30" , default-features = false }
@@ -98,27 +111,6 @@ tracing-subscriber = { version = "0.3", features = [
98
111
indicatif = { version = " 0.17" , features = [" tokio" ], optional = true }
99
112
parse-size = { version = " =1.0.0" , optional = true } # pinned version to avoid bumping msrv to 1.81
100
113
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
-
122
114
[dev-dependencies ]
123
115
axum = { version = " 0.7" }
124
116
clap = { version = " 4" , features = [" derive" ] }
@@ -140,9 +132,6 @@ serde_json = "1"
140
132
testresult = " 0.4.0"
141
133
iroh-relay = { path = " ../iroh-relay" , default-features = false , features = [" test-utils" , " server" ] }
142
134
143
- [build-dependencies ]
144
- cfg_aliases = { version = " 0.2" }
145
-
146
135
[features ]
147
136
default = [" metrics" , " discovery-pkarr-dht" ]
148
137
metrics = [" iroh-metrics/metrics" , " iroh-relay/metrics" , " net-report/metrics" , " portmapper/metrics" ]
0 commit comments