Debian Codegraph @

debian/missing-sources/clap_builder/Cargo.toml.orig

raw
1 [package]
2 name = "clap_builder"
3 version = "4.5.56"
4 description = "A simple to use, efficient, and full-featured Command Line Argument Parser"
5 categories = ["command-line-interface"]
6 keywords = [
7 "argument",
8 "cli",
9 "arg",
10 "parser",
11 "parse"
12 ]
13 repository.workspace = true
14 license.workspace = true
15 edition.workspace = true
16 rust-version.workspace = true
17 include.workspace = true
18
19 [package.metadata.docs.rs]
20 features = ["unstable-doc"]
21 rustdoc-args = ["--generate-link-to-definition"]
22
23 [package.metadata.playground]
24 features = ["unstable-doc"]
25
26 [package.metadata.release]
27 shared-version = true
28 dependent-version = "upgrade"
29 tag-name = "v{{version}}"
30
31 [features]
32 default = ["std", "color", "help", "usage", "error-context", "suggestions"]
33 debug = ["dep:backtrace"] # Enables debug messages
34 unstable-doc = ["cargo", "wrap_help", "env", "unicode", "string", "unstable-ext"] # for docs.rs
35
36 # Used in default
37 std = ["anstyle/std"] # support for no_std in a backwards-compatible way
38 color = ["dep:anstream"]
39 help = []
40 usage = []
41 error-context = []
42 suggestions = ["dep:strsim", "error-context"]
43
44 # Optional
45 deprecated = [] # Guided experience to prepare for next breaking release (at different stages of development, this may become default)
46 cargo = [] # Disable if you're not using Cargo, enables Cargo-env-var-dependent macros
47 wrap_help = ["help", "dep:terminal_size"]
48 env = [] # Use environment variables during arg parsing
49 unicode = ["dep:unicode-width", "dep:unicase"] # Support for unicode characters in arguments and help messages
50 string = [] # Allow runtime generated strings
51
52 # In-work features
53 unstable-v5 = ["deprecated"]
54 unstable-ext = []
55 unstable-styles = ["color"] # deprecated
56
57 [lib]
58 bench = false
59
60 [dependencies]
61 clap_lex = { path = "../clap_lex", version = "0.7.4" }
62 unicase = { version = "2.6.0", optional = true }
63 strsim = { version = "0.11.0", optional = true }
64 anstream = { version = "0.6.7", optional = true }
65 anstyle = "1.0.8"
66 terminal_size = { version = "0.4.0", optional = true }
67 backtrace = { version = "0.3.73", optional = true }
68 unicode-width = { version = "0.2.0", optional = true }
69
70 [dev-dependencies]
71 static_assertions = "1.1.0"
72 unic-emoji-char = "0.9.0"
73 color-print = "0.3.6"
74 snapbox = { version = "0.6.16" }
75
76 [lints]
77 workspace = true