clap/Cargo.toml

81 lines
2 KiB
TOML
Raw Normal View History

2015-02-25 13:37:25 +00:00
[package]
name = "clap"
2016-10-25 14:37:57 +00:00
version = "2.16.2"
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"]
repository = "https://github.com/kbknapp/clap-rs.git"
documentation = "https://docs.rs/clap/"
2016-09-18 19:52:50 +00:00
homepage = "https://clap.rs/"
readme = "README.md"
2015-05-17 22:26:03 +00:00
license = "MIT"
keywords = ["argument", "command", "arg", "parser", "parse"]
description = """
A simple to use, efficient, and full featured Command Line Argument Parser
"""
[dependencies]
bitflags = "~0.7"
vec_map = "~0.6"
unicode-width = "~0.1.3"
unicode-segmentation = "~0.1.2"
strsim = { version = "~0.5.1", optional = true }
ansi_term = { version = "~0.9.0", optional = true }
term_size = { version = "~0.2.0", optional = true }
libc = { version = "~0.2.9", optional = true }
2016-04-08 18:40:38 +00:00
yaml-rust = { version = "~0.3.2", optional = true }
2016-10-21 13:52:16 +00:00
clippy = { version = "~0.0.95", 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"]
2016-08-25 02:04:19 +00:00
wrap_help = ["libc", "term_size"]
yaml = ["yaml-rust"]
unstable = [] # for building with unstable clap features (doesn't require nightly Rust) (currently none)
nightly = [] # for building with unstable Rust features (currently none)
lints = ["clippy"] # Requires nightly Rust
debug = [] # Enables debug messages
[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