clap/Cargo.toml

77 lines
1.9 KiB
TOML
Raw Normal View History

2015-02-25 13:37:25 +00:00
[package]
name = "clap"
2016-06-29 17:34:18 +00:00
version = "2.7.1"
2015-02-25 13:37:25 +00:00
authors = ["Kevin K. <kbknapp@gmail.com>"]
2016-05-10 00:27:10 +00:00
exclude = ["examples/*", "clap-test/*", "tests/*", "benches/*", "*.png", "clap-perf/*", "*.dot"]
description = "A simple to use, efficient, and full featured Command Line Argument Parser"
repository = "https://github.com/kbknapp/clap-rs.git"
2015-05-01 15:13:41 +00:00
documentation = "http://kbknapp.github.io/clap-rs"
readme = "README.md"
2015-05-17 22:26:03 +00:00
license = "MIT"
keywords = ["argument", "command", "arg", "parser", "parse"]
[dependencies]
2016-04-08 18:40:38 +00:00
bitflags = "~0.5"
2016-03-04 18:42:22 +00:00
vec_map = "~0.6"
2016-04-08 18:40:38 +00:00
libc = { version = "~0.2.9", optional = true }
2016-02-14 06:10:44 +00:00
ansi_term = { version = "~0.7.2", optional = true }
strsim = { version = "~0.4.0", optional = true }
2016-04-08 18:40:38 +00:00
yaml-rust = { version = "~0.3.2", optional = true }
clippy = { version = "~0.0.74", optional = true }
unicode-width = { version = "~0.1.3", optional = true }
[dev-dependencies]
regex = "~0.1.69"
[features]
default = ["suggestions", "color", "wrap_help"]
2015-10-19 12:00:13 +00:00
suggestions = ["strsim"]
color = ["ansi_term", "libc"]
2015-10-29 05:36:12 +00:00
yaml = ["yaml-rust"]
wrap_help = ["libc", "unicode-width"]
2015-10-29 05:36:12 +00:00
lints = ["clippy", "nightly"]
nightly = [] # for building with nightly and unstable features
unstable = [] # for building with unstable features on stable Rust
2015-10-29 05:36:12 +00:00
debug = [] # for building with debug messages
travis = ["lints", "nightly"] # for building with travis-cargo
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
# codegen-units ignored with lto=true
[profile.dev]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 4
[profile.test]
opt-level = 1
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 2
[profile.bench]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
[profile.doc]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 4