use structopt instead of Clap (#41)

mini-redis uses the CLI derive pattern. Clap does not yet have a release
supporting this pattern. Using structopt allows mini-redis to avoid git
dependencies.
This commit is contained in:
Carl Lerche
2020-05-12 16:48:16 -07:00
committed by GitHub
parent 84f7086238
commit fdba12b964
4 changed files with 430 additions and 458 deletions

View File

@@ -5,14 +5,14 @@ name = "mini-redis"
version = "0.1.0"
[dependencies]
async-stream = "0.2.1"
atoi = "0.3.2"
bytes = "0.5.4"
clap = { git = "https://github.com/clap-rs/clap/" }
structopt = "0.3.14"
tokio = { version = "0.2.20", features = ["full"] }
tracing = "0.1.13"
tracing-futures = { version = "0.2.3", features = ["tokio"] }
tracing-subscriber = "0.2.2"
async-stream = "0.2.1"
[dev-dependencies]
# Enable test-utilities in dev mode only. This is mostly for tests.