clap/Cargo.toml

93 lines
2.4 KiB
TOML
Raw Normal View History

2015-02-25 13:37:25 +00:00
[package]
name = "clap"
2017-11-27 15:28:28 +00:00
version = "2.28.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"]
repository = "https://github.com/kbknapp/clap-rs"
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"]
categories = ["command-line-interface"]
description = """
A simple to use, efficient, and full featured Command Line Argument Parser
"""
2017-07-21 13:55:27 +00:00
[badges]
travis-ci = { repository = "kbknapp/clap-rs" }
appveyor = { repository = "kbknapp/clap-rs" }
[dependencies]
bitflags = "1.0"
unicode-width = "0.1.4"
2017-10-06 11:53:08 +00:00
textwrap = "0.9.0"
strsim = { version = "0.6.0", optional = true }
ansi_term = { version = "0.10.0", optional = true }
yaml-rust = { version = "0.3.5", optional = true }
2017-10-24 03:03:40 +00:00
clippy = { version = "~0.0.166", optional = true }
atty = { version = "0.2.2", optional = true }
2017-09-19 11:28:58 +00:00
vec_map = { version = "0.8", optional = true }
term_size = { version = "0.3.0", optional = true }
[dev-dependencies]
regex = "0.2"
lazy_static = "0.2"
2017-11-19 18:25:01 +00:00
version-sync = "0.5"
[features]
default = ["suggestions", "color", "vec_map"]
2015-10-19 12:00:13 +00:00
suggestions = ["strsim"]
color = ["ansi_term", "atty"]
wrap_help = ["term_size", "textwrap/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
no_cargo = [] # Enable if you're not using Cargo, disables Cargo-env-var-dependent macros
doc = ["yaml"] # All the features which add to documentation
[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 = 4
[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
[package.metadata.docs.rs]
features = ["doc"]