2015-02-25 13:37:25 +00:00
|
|
|
[package]
|
|
|
|
|
|
|
|
name = "clap"
|
2016-02-19 15:47:39 +00:00
|
|
|
version = "2.1.1"
|
2015-02-25 13:37:25 +00:00
|
|
|
authors = ["Kevin K. <kbknapp@gmail.com>"]
|
2015-11-12 15:16:22 +00:00
|
|
|
exclude = ["examples/*", "clap-tests/*", "tests/*", "benches/*", "*.png", "clap-perf/*"]
|
2015-04-29 03:03:55 +00:00
|
|
|
description = "A simple to use, efficient, and full featured Command Line Argument Parser"
|
2015-03-01 00:56:43 +00:00
|
|
|
repository = "https://github.com/kbknapp/clap-rs.git"
|
2015-05-01 15:13:41 +00:00
|
|
|
documentation = "http://kbknapp.github.io/clap-rs"
|
2015-03-01 00:56:43 +00:00
|
|
|
readme = "README.md"
|
2015-05-17 22:26:03 +00:00
|
|
|
license = "MIT"
|
2015-03-04 13:32:55 +00:00
|
|
|
keywords = ["argument", "command", "arg", "parser", "parse"]
|
2015-03-01 00:56:43 +00:00
|
|
|
|
2015-09-30 21:14:48 +00:00
|
|
|
[dependencies]
|
2016-01-27 22:09:01 +00:00
|
|
|
bitflags = "~0.4"
|
|
|
|
vec_map = "~0.4"
|
2016-02-14 06:10:44 +00:00
|
|
|
ansi_term = { version = "~0.7.2", optional = true }
|
|
|
|
strsim = { version = "~0.4.0", optional = true }
|
|
|
|
yaml-rust = { version = "~0.3", optional = true }
|
|
|
|
clippy = { version = "~0.0.41", optional = true }
|
2015-08-25 21:28:38 +00:00
|
|
|
|
|
|
|
[features]
|
2015-10-29 05:36:12 +00:00
|
|
|
default = ["suggestions", "color"]
|
2015-10-19 12:00:13 +00:00
|
|
|
suggestions = ["strsim"]
|
2015-10-29 05:36:12 +00:00
|
|
|
color = ["ansi_term"]
|
|
|
|
yaml = ["yaml-rust"]
|
|
|
|
lints = ["clippy", "nightly"]
|
|
|
|
nightly = [] # for building with nightly and unstable features
|
2016-01-30 02:28:12 +00:00
|
|
|
unstable = [] # for building with unstable features on stable Rust
|
2015-10-29 05:36:12 +00:00
|
|
|
debug = [] # for building with debug messages
|
2016-01-30 02:28:12 +00:00
|
|
|
travis = ["lints", "nightly"] # for building with travis-cargo
|
2016-01-26 04:09:34 +00:00
|
|
|
|
|
|
|
[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
|