|
| 1 | +[package] |
| 2 | + |
| 3 | +name = "clap" |
| 4 | +version = "2.32.0" |
| 5 | +authors = [ "Kevin K. <[email protected]>"] |
| 6 | +exclude = ["examples/*", "clap-test/*", "tests/*", "benches/*", "*.png", "clap-perf/*", "*.dot"] |
| 7 | +repository = "https://github.com/clap-rs/clap" |
| 8 | +documentation = "https://docs.rs/clap/" |
| 9 | +homepage = "https://clap.rs/" |
| 10 | +readme = "README.md" |
| 11 | +license = "MIT" |
| 12 | +keywords = ["argument", "cli", "arg", "parser", "parse"] |
| 13 | +categories = ["command-line-interface"] |
| 14 | +description = """ |
| 15 | +A simple to use, efficient, and full featured Command Line Argument Parser |
| 16 | +""" |
| 17 | + |
| 18 | +[badges] |
| 19 | +travis-ci = { repository = "clap-rs/clap" } |
| 20 | +appveyor = { repository = "clap-rs/clap" } |
| 21 | +coveralls = { repository = "clap-rs/clap", branch = "master" } |
| 22 | +is-it-maintained-issue-resolution = { repository = "clap-rs/clap" } |
| 23 | +is-it-maintained-open-issues = { repository = "clap-rs/clap" } |
| 24 | +maintenance = {status = "actively-developed"} |
| 25 | + |
| 26 | +[dependencies] |
| 27 | +bitflags = "1.0" |
| 28 | +unicode-width = "0.1.4" |
| 29 | +textwrap = "0.10.0" |
| 30 | +strsim = { version = "0.8", optional = true } |
| 31 | +yaml-rust = { version = "0.3.5", optional = true } |
| 32 | +clippy = { version = "~0.0.166", optional = true } |
| 33 | +atty = { version = "0.2.2", optional = true } |
| 34 | +vec_map = { version = "0.8", optional = true } |
| 35 | +term_size = { version = "0.3.0", optional = true } |
| 36 | + |
| 37 | +[target.'cfg(not(windows))'.dependencies] |
| 38 | +ansi_term = { version = "0.11", optional = true } |
| 39 | + |
| 40 | +[dev-dependencies] |
| 41 | +regex = "1" |
| 42 | +# lazy_static 1.2 requires Rust 1.24.1+ |
| 43 | +lazy_static = "~1.1" |
| 44 | +version-sync = "0.5" |
| 45 | + |
| 46 | +[features] |
| 47 | +default = ["suggestions", "color", "vec_map"] |
| 48 | +suggestions = ["strsim"] |
| 49 | +color = ["ansi_term", "atty"] |
| 50 | +wrap_help = ["term_size", "textwrap/term_size"] |
| 51 | +yaml = ["yaml-rust"] |
| 52 | +unstable = [] # for building with unstable clap features (doesn't require nightly Rust) (currently none) |
| 53 | +nightly = [] # for building with unstable Rust features (currently none) |
| 54 | +lints = ["clippy"] # Requires nightly Rust |
| 55 | +debug = [] # Enables debug messages |
| 56 | +no_cargo = [] # Enable if you're not using Cargo, disables Cargo-env-var-dependent macros |
| 57 | +doc = ["yaml"] # All the features which add to documentation |
| 58 | + |
| 59 | +[profile.release] |
| 60 | +opt-level = 3 |
| 61 | +debug = false |
| 62 | +rpath = false |
| 63 | +lto = true |
| 64 | +debug-assertions = false |
| 65 | +codegen-units = 1 |
| 66 | + |
| 67 | +[profile.dev] |
| 68 | +opt-level = 0 |
| 69 | +debug = true |
| 70 | +rpath = false |
| 71 | +lto = false |
| 72 | +debug-assertions = true |
| 73 | +codegen-units = 4 |
| 74 | + |
| 75 | +[profile.test] |
| 76 | +opt-level = 1 |
| 77 | +debug = true |
| 78 | +rpath = false |
| 79 | +lto = false |
| 80 | +debug-assertions = true |
| 81 | +codegen-units = 4 |
| 82 | + |
| 83 | +[profile.bench] |
| 84 | +opt-level = 3 |
| 85 | +debug = false |
| 86 | +rpath = false |
| 87 | +lto = true |
| 88 | +debug-assertions = false |
| 89 | +codegen-units = 1 |
| 90 | + |
| 91 | +[package.metadata.docs.rs] |
| 92 | +features = ["doc"] |
0 commit comments