2015-02-25 13:37:25 +00:00
|
|
|
[package]
|
|
|
|
|
|
|
|
name = "clap"
|
2016-12-29 04:57:13 +00:00
|
|
|
version = "2.20.0"
|
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"]
|
2015-03-01 00:56:43 +00:00
|
|
|
repository = "https://github.com/kbknapp/clap-rs.git"
|
2016-08-27 15:08:51 +00:00
|
|
|
documentation = "https://docs.rs/clap/"
|
2016-09-18 19:52:50 +00:00
|
|
|
homepage = "https://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"]
|
2017-01-20 16:16:49 +00:00
|
|
|
categories = ["command-line-interface"]
|
2016-08-27 15:08:51 +00:00
|
|
|
description = """
|
|
|
|
A simple to use, efficient, and full featured Command Line Argument Parser
|
|
|
|
"""
|
2015-03-01 00:56:43 +00:00
|
|
|
|
2015-09-30 21:14:48 +00:00
|
|
|
[dependencies]
|
2017-01-30 02:14:46 +00:00
|
|
|
bitflags = "0.7.0"
|
|
|
|
vec_map = "0.6.0"
|
|
|
|
unicode-width = "0.1.4"
|
2016-12-31 03:03:36 +00:00
|
|
|
unicode-segmentation = "1.0.1"
|
2017-01-30 02:14:46 +00:00
|
|
|
strsim = { version = "0.6.0", optional = true }
|
|
|
|
ansi_term = { version = "0.9.0", optional = true }
|
|
|
|
term_size = { version = "0.2.1", optional = true }
|
|
|
|
libc = { version = "0.2.18", optional = true }
|
|
|
|
yaml-rust = { version = "0.3.5", optional = true }
|
2016-12-31 03:03:36 +00:00
|
|
|
clippy = { version = "~0.0.104", optional = true }
|
2015-08-25 21:28:38 +00:00
|
|
|
|
2016-05-09 01:33:56 +00:00
|
|
|
[dev-dependencies]
|
2016-11-21 02:27:38 +00:00
|
|
|
regex = "~0.1.80"
|
2016-05-09 01:33:56 +00:00
|
|
|
|
2015-08-25 21:28:38 +00:00
|
|
|
[features]
|
2016-03-12 20:47:57 +00:00
|
|
|
default = ["suggestions", "color", "wrap_help"]
|
2015-10-19 12:00:13 +00:00
|
|
|
suggestions = ["strsim"]
|
2016-05-30 08:07:44 +00:00
|
|
|
color = ["ansi_term", "libc"]
|
2016-08-25 02:04:19 +00:00
|
|
|
wrap_help = ["libc", "term_size"]
|
2016-10-15 02:58:36 +00:00
|
|
|
yaml = ["yaml-rust"]
|
2016-10-15 21:37:59 +00:00
|
|
|
unstable = [] # for building with unstable clap features (doesn't require nightly Rust) (currently none)
|
2016-10-15 02:58:36 +00:00
|
|
|
nightly = [] # for building with unstable Rust features (currently none)
|
2016-10-15 17:08:51 +00:00
|
|
|
lints = ["clippy"] # Requires nightly Rust
|
2016-10-15 02:58:36 +00:00
|
|
|
debug = [] # Enables debug messages
|
2016-12-28 02:07:59 +00:00
|
|
|
no_cargo = [] # Enable if you're not using Cargo, disables Cargo-env-var-dependent macros
|
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
|