@@ -39,8 +39,7 @@ iroh-base = "0.28.0"
39
39
iroh-blobs = { version = " 0.28.0" , optional = true , features = [" downloader" ] }
40
40
iroh-gossip = { version = " 0.28.0" , optional = true }
41
41
iroh-metrics = { version = " 0.28.0" , default-features = false }
42
- iroh-net = { version = " 0.28.0" , optional = true }
43
- iroh-router = { version = " 0.28.0" , optional = true }
42
+ iroh = { version = " 0.28" , optional = true }
44
43
num_enum = " 0.7"
45
44
postcard = { version = " 1" , default-features = false , features = [" alloc" , " use-std" , " experimental-derive" ] }
46
45
rand = " 0.8.5"
@@ -88,10 +87,10 @@ testdir = "0.9.1"
88
87
89
88
[features ]
90
89
default = [" net" , " metrics" , " engine" , " rpc" , " test-utils" ]
91
- net = [" dep:iroh-net " , " tokio/io-util" , " dep:tokio-stream" , " dep:tokio-util" ]
92
- metrics = [" iroh-metrics/metrics" ]
93
- engine = [" net" , " dep:iroh-gossip" , " dep:iroh-blobs" , " dep:iroh-router " ]
94
- test-utils = [" iroh-net /test-utils" ]
90
+ net = [" dep:iroh" , " tokio/io-util" , " dep:tokio-stream" , " dep:tokio-util" ]
91
+ metrics = [" iroh-metrics/metrics" , " iroh/metrics " ]
92
+ engine = [" net" , " dep:iroh-gossip" , " dep:iroh-blobs" ]
93
+ test-utils = [" iroh/test-utils" ]
95
94
cli = [" rpc" , " dep:clap" , " dep:indicatif" , " dep:console" , " dep:colored" , " dep:dialoguer" , " dep:shellexpand" , " iroh-blobs/rpc" ]
96
95
rpc = [
97
96
" engine" ,
@@ -107,9 +106,8 @@ all-features = true
107
106
rustdoc-args = [" --cfg" , " iroh_docsrs" ]
108
107
109
108
[patch .crates-io ]
110
- iroh-router = { git = " https://github.com/n0-computer/iroh" , branch = " main" }
111
- iroh-net = { git = " https://github.com/n0-computer/iroh" , branch = " main" }
112
109
iroh-metrics = { git = " https://github.com/n0-computer/iroh" , branch = " main" }
113
110
iroh-base = { git = " https://github.com/n0-computer/iroh" , branch = " main" }
111
+ iroh = { git = " https://github.com/n0-computer/iroh" , branch = " main" }
114
112
iroh-blobs = { git = " https://github.com/n0-computer/iroh-blobs" , branch = " main" }
115
113
iroh-gossip = { git = " https://github.com/n0-computer/iroh-gossip" , branch = " main" }
0 commit comments