add crate cli_helpers with option and config parsing; use in aquatic

Putting cli functionality into its own crate will allow using it
from aquatic_bench and possibly other programs.
This commit is contained in:
Joakim Frostegård 2020-04-09 16:46:35 +02:00
parent 06756f1c74
commit ac52668a3d
9 changed files with 147 additions and 10 deletions

View file

@ -13,6 +13,7 @@ name = "aquatic"
[dependencies]
bittorrent_udp = { path = "../bittorrent_udp" }
cli_helpers = { path = "../cli_helpers" }
dashmap = "3"
histogram = "0.6"
indexmap = "1"
@ -20,6 +21,7 @@ mimalloc = { version = "0.1", default-features = false }
mio = { version = "0.7", features = ["udp", "os-poll", "os-util"] }
net2 = "0.2"
rand = { version = "0.7", features = ["small_rng"] }
serde = { version = "1", features = ["derive"] }
[dev-dependencies]
quickcheck = "0.9"