@@ -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 }
@@ -76,13 +79,17 @@ futures-util = "0.3.30"
76
79
testdir = " 0.9.1"
77
80
78
81
[features ]
79
- default = [" fs-store" , " rpc" , " net_protocol" ]
82
+ default = [" fs-store" , " rpc" , " net_protocol" , " cli " ]
80
83
downloader = [" dep:parking_lot" , " tokio-util/time" , " dep:hashlink" ]
81
84
net_protocol = [" downloader" ]
82
85
fs-store = [" dep:reflink-copy" , " redb" , " dep:redb_v1" , " dep:tempfile" ]
83
86
metrics = [" iroh-metrics/metrics" ]
84
87
redb = [" dep:redb" ]
88
+ cli = [" dep:clap" , " dep:indicatif" , " dep:console" ]
85
89
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" ]
90
+ clap = [" dep:clap" ]
91
+ console = [" dep:console" ]
92
+ indicatif = [" dep:indicatif" ]
86
93
87
94
[package .metadata .docs .rs ]
88
95
all-features = true
0 commit comments