@@ -18,13 +18,16 @@ async-channel = "2.3.1"
1818bao-tree = { version = " 0.13" , features = [" tokio_fsm" , " validate" ], default-features = false }
1919bytes = { version = " 1.7" , features = [" serde" ] }
2020chrono = " 0.4.31"
21+ clap = { version = " 4.5.20" , features = [" derive" ], optional = true }
22+ console = { version = " 0.15.8" , optional = true }
2123derive_more = { version = " 1.0.0" , features = [" debug" , " display" , " deref" , " deref_mut" , " from" , " try_into" , " into" ] }
2224futures-buffered = " 0.2.4"
2325futures-lite = " 2.3"
2426futures-util = { version = " 0.3.30" , optional = true }
2527genawaiter = { version = " 0.99.1" , features = [" futures03" ] }
2628hashlink = { version = " 0.9.0" , optional = true }
2729hex = " 0.4.3"
30+ indicatif = { version = " 0.17.8" , optional = true }
2831iroh-base = { version = " 0.28.0" , features = [" redb" ] }
2932iroh-io = { version = " 0.6.0" , features = [" stats" ] }
3033iroh-metrics = { version = " 0.28.0" , default-features = false }
@@ -76,13 +79,17 @@ futures-util = "0.3.30"
7679testdir = " 0.9.1"
7780
7881[features ]
79- default = [" fs-store" , " rpc" , " net_protocol" ]
82+ default = [" fs-store" , " rpc" , " net_protocol" , " cli " ]
8083downloader = [" dep:parking_lot" , " tokio-util/time" , " dep:hashlink" ]
8184net_protocol = [" downloader" ]
8285fs-store = [" dep:reflink-copy" , " redb" , " dep:redb_v1" , " dep:tempfile" ]
8386metrics = [" iroh-metrics/metrics" ]
8487redb = [" dep:redb" ]
88+ cli = [" dep:clap" , " dep:indicatif" , " dep:console" ]
8589rpc = [" 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" ]
8693
8794[package .metadata .docs .rs ]
8895all-features = true
0 commit comments