2015-02-25 08:37:25 -05:00
|
|
|
[package]
|
|
|
|
|
|
|
|
name = "clap"
|
2017-02-28 21:20:46 -05:00
|
|
|
version = "2.21.0-beta"
|
2015-02-25 08:37:25 -05:00
|
|
|
authors = ["Kevin K. <kbknapp@gmail.com>"]
|
2016-05-09 20:27:10 -04:00
|
|
|
exclude = ["examples/*", "clap-test/*", "tests/*", "benches/*", "*.png", "clap-perf/*", "*.dot"]
|
2015-02-28 19:56:43 -05:00
|
|
|
repository = "https://github.com/kbknapp/clap-rs.git"
|
2016-08-27 11:08:51 -04:00
|
|
|
documentation = "https://docs.rs/clap/"
|
2016-09-18 15:52:50 -04:00
|
|
|
homepage = "https://clap.rs/"
|
2015-02-28 19:56:43 -05:00
|
|
|
readme = "README.md"
|
2015-05-17 18:26:03 -04:00
|
|
|
license = "MIT"
|
2015-03-04 08:32:55 -05:00
|
|
|
keywords = ["argument", "command", "arg", "parser", "parse"]
|
2017-02-16 09:44:44 -05:00
|
|
|
categories = ["command-line-interface"]
|
2016-08-27 11:08:51 -04:00
|
|
|
description = """
|
|
|
|
A simple to use, efficient, and full featured Command Line Argument Parser
|
|
|
|
"""
|
2015-02-28 19:56:43 -05:00
|
|
|
|
2015-09-30 17:14:48 -04:00
|
|
|
[dependencies]
|
2017-02-25 23:57:14 +01:00
|
|
|
bitflags = "0.8.0"
|
2017-02-28 00:05:53 -05:00
|
|
|
vec_map = "0.7.0"
|
2017-01-29 18:14:46 -08:00
|
|
|
unicode-width = "0.1.4"
|
2016-12-30 22:03:36 -05:00
|
|
|
unicode-segmentation = "1.0.1"
|
2017-01-29 18:14:46 -08:00
|
|
|
strsim = { version = "0.6.0", optional = true }
|
|
|
|
ansi_term = { version = "0.9.0", optional = true }
|
2017-01-29 18:10:14 -05:00
|
|
|
term_size = { version = "0.2.2", optional = true }
|
2017-01-29 18:14:46 -08:00
|
|
|
yaml-rust = { version = "0.3.5", optional = true }
|
2017-01-29 18:10:14 -05:00
|
|
|
clippy = { version = "~0.0.112", optional = true }
|
2017-02-19 11:12:55 -05:00
|
|
|
atty = { version = "0.2.2", optional = true }
|
2015-08-25 17:28:38 -04:00
|
|
|
|
2016-05-08 21:33:56 -04:00
|
|
|
[dev-dependencies]
|
2017-02-27 23:49:51 -05:00
|
|
|
regex = "0.2"
|
|
|
|
lazy_static = "0.2"
|
2016-05-08 21:33:56 -04:00
|
|
|
|
2015-08-25 17:28:38 -04:00
|
|
|
[features]
|
2016-03-12 15:47:57 -05:00
|
|
|
default = ["suggestions", "color", "wrap_help"]
|
2015-10-19 15:00:13 +03:00
|
|
|
suggestions = ["strsim"]
|
2017-02-19 11:12:55 -05:00
|
|
|
color = ["ansi_term", "atty"]
|
2017-03-05 19:44:16 +01:00
|
|
|
wrap_help = ["term_size"]
|
2016-10-15 04:58:36 +02:00
|
|
|
yaml = ["yaml-rust"]
|
2016-10-15 23:37:59 +02:00
|
|
|
unstable = [] # for building with unstable clap features (doesn't require nightly Rust) (currently none)
|
2016-10-15 04:58:36 +02:00
|
|
|
nightly = [] # for building with unstable Rust features (currently none)
|
2016-10-15 19:08:51 +02:00
|
|
|
lints = ["clippy"] # Requires nightly Rust
|
2016-10-15 04:58:36 +02:00
|
|
|
debug = [] # Enables debug messages
|
2016-12-28 03:07:59 +01:00
|
|
|
no_cargo = [] # Enable if you're not using Cargo, disables Cargo-env-var-dependent macros
|
2016-01-25 23:09:34 -05: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
|