Merge pull request #1358 from ethcore/no_docopt_deps

docopt is an optional dependency of ethkey and ethstore
This commit is contained in:
Arkadiy Paronyan 2016-06-20 21:37:52 +02:00 committed by GitHub
commit 05583c2cd7
3 changed files with 2 additions and 4 deletions

2
Cargo.lock generated
View File

@ -424,7 +424,6 @@ dependencies = [
name = "ethkey"
version = "0.2.0"
dependencies = [
"docopt 0.6.80 (registry+https://github.com/rust-lang/crates.io-index)",
"eth-secp256k1 0.5.4 (git+https://github.com/ethcore/rust-secp256k1)",
"lazy_static 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
@ -436,7 +435,6 @@ dependencies = [
name = "ethstore"
version = "0.1.0"
dependencies = [
"docopt 0.6.80 (registry+https://github.com/rust-lang/crates.io-index)",
"ethkey 0.2.0",
"libc 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -12,7 +12,7 @@ rustc-serialize = "0.3"
docopt = { version = "0.6", optional = true }
[features]
default = ["cli"]
default = []
cli = ["docopt"]
[[bin]]

View File

@ -21,7 +21,7 @@ serde_codegen = { version = "0.7", optional = true }
syntex = "0.33.0"
[features]
default = ["cli", "serde_codegen"]
default = ["serde_codegen"]
nightly = ["serde_macros"]
cli = ["docopt"]