]>
Commit | Line | Data |
---|---|---|
041b39d2 XL |
1 | [package] |
2 | ||
3 | name = "clap" | |
abe05a73 | 4 | version = "2.27.1" |
041b39d2 XL |
5 | authors = ["Kevin K. <kbknapp@gmail.com>"] |
6 | exclude = ["examples/*", "clap-test/*", "tests/*", "benches/*", "*.png", "clap-perf/*", "*.dot"] | |
7 | repository = "https://github.com/kbknapp/clap-rs.git" | |
8 | documentation = "https://docs.rs/clap/" | |
9 | homepage = "https://clap.rs/" | |
10 | readme = "README.md" | |
11 | license = "MIT" | |
12 | keywords = ["argument", "command", "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 | ||
3b2f2976 XL |
18 | [badges] |
19 | travis-ci = { repository = "kbknapp/clap-rs" } | |
20 | appveyor = { repository = "kbknapp/clap-rs" } | |
21 | ||
041b39d2 XL |
22 | [dependencies] |
23 | bitflags = "0.9" | |
041b39d2 | 24 | unicode-width = "0.1.4" |
abe05a73 | 25 | textwrap = "0.9.0" |
041b39d2 XL |
26 | strsim = { version = "0.6.0", optional = true } |
27 | ansi_term = { version = "0.9.0", optional = true } | |
041b39d2 | 28 | yaml-rust = { version = "0.3.5", optional = true } |
abe05a73 | 29 | clippy = { version = "~0.0.166", optional = true } |
041b39d2 | 30 | atty = { version = "0.2.2", optional = true } |
abe05a73 XL |
31 | vec_map = { version = "0.8", optional = true } |
32 | term_size = { version = "0.3.0", optional = true } | |
041b39d2 XL |
33 | |
34 | [dev-dependencies] | |
35 | regex = "0.2" | |
36 | lazy_static = "0.2" | |
abe05a73 | 37 | version-sync = "0.3" |
041b39d2 XL |
38 | |
39 | [features] | |
abe05a73 | 40 | default = ["suggestions", "color", "vec_map"] |
041b39d2 XL |
41 | suggestions = ["strsim"] |
42 | color = ["ansi_term", "atty"] | |
abe05a73 | 43 | wrap_help = ["term_size", "textwrap/term_size"] |
041b39d2 XL |
44 | yaml = ["yaml-rust"] |
45 | unstable = [] # for building with unstable clap features (doesn't require nightly Rust) (currently none) | |
46 | nightly = [] # for building with unstable Rust features (currently none) | |
47 | lints = ["clippy"] # Requires nightly Rust | |
48 | debug = [] # Enables debug messages | |
49 | no_cargo = [] # Enable if you're not using Cargo, disables Cargo-env-var-dependent macros | |
3b2f2976 | 50 | doc = ["yaml"] # All the features which add to documentation |
041b39d2 XL |
51 | |
52 | [profile.release] | |
53 | opt-level = 3 | |
54 | debug = false | |
55 | rpath = false | |
56 | lto = true | |
57 | debug-assertions = false | |
58 | # codegen-units ignored with lto=true | |
59 | ||
60 | [profile.dev] | |
61 | opt-level = 0 | |
62 | debug = true | |
63 | rpath = false | |
64 | lto = false | |
65 | debug-assertions = true | |
66 | codegen-units = 4 | |
67 | ||
68 | [profile.test] | |
69 | opt-level = 1 | |
70 | debug = true | |
71 | rpath = false | |
72 | lto = false | |
73 | debug-assertions = true | |
74 | codegen-units = 4 | |
75 | ||
76 | [profile.bench] | |
77 | opt-level = 3 | |
78 | debug = false | |
79 | rpath = false | |
80 | lto = true | |
81 | debug-assertions = false | |
82 | ||
83 | [profile.doc] | |
84 | opt-level = 0 | |
85 | debug = true | |
86 | rpath = false | |
87 | lto = false | |
88 | debug-assertions = true | |
89 | codegen-units = 4 | |
3b2f2976 XL |
90 | |
91 | [package.metadata.docs.rs] | |
92 | features = ["doc"] |