Make clap and regex dependencies optional
This commit is contained in:
parent
04f8e23e0f
commit
f6bb5ab28a
2 changed files with 16 additions and 4 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
**Version 0.10.0 (unreleased)**
|
||||||
|
- [SEMVER_MINOR] Make clap and regex dependencies optional
|
||||||
|
- Enabled by default, needed for executable build; can be disabled for use in crates
|
||||||
|
|
||||||
**Version 0.9.0**
|
**Version 0.9.0**
|
||||||
- [SEMVER_MAJOR] Significant refactoring of modules
|
- [SEMVER_MAJOR] Significant refactoring of modules
|
||||||
- Use `itertools` to cleanup areas of code
|
- Use `itertools` to cleanup areas of code
|
||||||
|
|
|
||||||
16
Cargo.toml
16
Cargo.toml
|
|
@ -24,25 +24,33 @@ doc = false
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bit-vec = "^0.4.2"
|
bit-vec = "^0.4.2"
|
||||||
byteorder = "^0.5.0"
|
byteorder = "^0.5.0"
|
||||||
clap = "^2.2.5"
|
|
||||||
crc = "^1.2.0"
|
crc = "^1.2.0"
|
||||||
itertools = "^0.4.16"
|
itertools = "^0.4.16"
|
||||||
libc = "^0.2.4"
|
libc = "^0.2.4"
|
||||||
libz-sys = "^1.0.0"
|
libz-sys = "^1.0.0"
|
||||||
miniz-sys = "^0.1.7"
|
miniz-sys = "^0.1.7"
|
||||||
num_cpus = "^0.2.11"
|
num_cpus = "^0.2.11"
|
||||||
regex = "^0.1.63"
|
|
||||||
scoped-pool = "^0.1.8"
|
scoped-pool = "^0.1.8"
|
||||||
|
|
||||||
|
[dependencies.clap]
|
||||||
|
optional = true
|
||||||
|
version = "^2.2.5"
|
||||||
|
|
||||||
[dependencies.clippy]
|
[dependencies.clippy]
|
||||||
optional = true
|
optional = true
|
||||||
version = "^0.0.79"
|
version = "^0.0.79"
|
||||||
|
|
||||||
|
[dependencies.regex]
|
||||||
|
optional = true
|
||||||
|
version = "^0.1.63"
|
||||||
|
|
||||||
[dev-dependencies.image]
|
[dev-dependencies.image]
|
||||||
version = "^0.8.0"
|
version = "^0.8.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["png_codec"]
|
features = ["png_codec"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = ["binary"]
|
||||||
nightly = ["clippy", "regex/simd-accel"]
|
binary = ["clap", "regex"]
|
||||||
|
nightly = ["clippy"]
|
||||||
|
nightly-binary = ["binary", "nightly", "regex/simd-accel"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue