@@ -18,13 +18,16 @@ async-channel = "2.3.1"
18
18
bao-tree = { version = " 0.13" , features = [" tokio_fsm" , " validate" ], default-features = false }
19
19
bytes = { version = " 1.7" , features = [" serde" ] }
20
20
chrono = " 0.4.31"
21
+ clap = { version = " 4.5.20" , features = [" derive" ], optional = true }
22
+ console = { version = " 0.15.8" , optional = true }
21
23
derive_more = { version = " 1.0.0" , features = [" debug" , " display" , " deref" , " deref_mut" , " from" , " try_into" , " into" ] }
22
24
futures-buffered = " 0.2.4"
23
25
futures-lite = " 2.3"
24
26
futures-util = { version = " 0.3.30" , optional = true }
25
27
genawaiter = { version = " 0.99.1" , features = [" futures03" ] }
26
28
hashlink = { version = " 0.9.0" , optional = true }
27
29
hex = " 0.4.3"
30
+ indicatif = { version = " 0.17.8" , optional = true }
28
31
iroh-base = { version = " 0.28.0" , features = [" redb" ] }
29
32
iroh-io = { version = " 0.6.0" , features = [" stats" ] }
30
33
iroh-metrics = { version = " 0.28.0" , default-features = false }
@@ -81,6 +84,7 @@ net_protocol = ["downloader"]
81
84
fs-store = [" dep:reflink-copy" , " redb" , " dep:redb_v1" , " dep:tempfile" ]
82
85
metrics = [" iroh-metrics/metrics" ]
83
86
redb = [" dep:redb" ]
87
+ cli = [" rpc" , " dep:clap" , " dep:indicatif" , " dep:console" ]
84
88
rpc = [" dep:quic-rpc" , " dep:quic-rpc-derive" , " dep:nested_enum_utils" , " dep:strum" , " dep:futures-util" , " dep:ref-cast" , " dep:portable-atomic" , " dep:walkdir" , " downloader" ]
85
89
86
90
[package .metadata .docs .rs ]
0 commit comments