2023-03-25 01:47:27 +00:00
|
|
|
[package]
|
|
|
|
name = "clap_builder"
|
2024-10-08 13:56:17 +00:00
|
|
|
version = "4.5.20"
|
2023-03-25 01:47:27 +00:00
|
|
|
description = "A simple to use, efficient, and full-featured Command Line Argument Parser"
|
|
|
|
categories = ["command-line-interface"]
|
|
|
|
keywords = [
|
|
|
|
"argument",
|
|
|
|
"cli",
|
|
|
|
"arg",
|
|
|
|
"parser",
|
|
|
|
"parse"
|
|
|
|
]
|
2024-06-04 20:36:17 +00:00
|
|
|
repository.workspace = true
|
2023-03-25 01:47:27 +00:00
|
|
|
license.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
|
|
|
include.workspace = true
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["unstable-doc"]
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
|
|
|
|
|
|
|
[package.metadata.playground]
|
|
|
|
features = ["unstable-doc"]
|
|
|
|
|
|
|
|
[package.metadata.release]
|
|
|
|
shared-version = true
|
|
|
|
dependent-version = "upgrade"
|
|
|
|
tag-name = "v{{version}}"
|
|
|
|
|
|
|
|
[features]
|
2023-03-16 11:28:57 +00:00
|
|
|
default = ["std", "color", "help", "usage", "error-context", "suggestions"]
|
2023-03-25 01:47:27 +00:00
|
|
|
debug = ["dep:backtrace"] # Enables debug messages
|
2024-08-07 15:29:42 +00:00
|
|
|
unstable-doc = ["cargo", "wrap_help", "env", "unicode", "string", "unstable-ext"] # for docs.rs
|
2023-03-25 01:47:27 +00:00
|
|
|
|
|
|
|
# Used in default
|
2023-04-13 07:47:57 +00:00
|
|
|
std = ["anstyle/std"] # support for no_std in a backwards-compatible way
|
|
|
|
color = ["dep:anstream"]
|
2023-03-25 01:47:27 +00:00
|
|
|
help = []
|
|
|
|
usage = []
|
|
|
|
error-context = []
|
|
|
|
suggestions = ["dep:strsim", "error-context"]
|
|
|
|
|
|
|
|
# Optional
|
|
|
|
deprecated = [] # Guided experience to prepare for next breaking release (at different stages of development, this may become default)
|
2023-08-31 17:54:45 +00:00
|
|
|
cargo = [] # Disable if you're not using Cargo, enables Cargo-env-var-dependent macros
|
2023-03-25 01:47:27 +00:00
|
|
|
wrap_help = ["help", "dep:terminal_size"]
|
|
|
|
env = [] # Use environment variables during arg parsing
|
|
|
|
unicode = ["dep:unicode-width", "dep:unicase"] # Support for unicode characters in arguments and help messages
|
|
|
|
string = [] # Allow runtime generated strings
|
|
|
|
|
|
|
|
# In-work features
|
|
|
|
unstable-v5 = ["deprecated"]
|
2024-08-02 14:46:44 +00:00
|
|
|
unstable-ext = []
|
2024-08-02 13:22:31 +00:00
|
|
|
unstable-styles = ["color"] # deprecated
|
2023-03-25 01:47:27 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
|
|
|
[dependencies]
|
2024-02-08 16:33:13 +00:00
|
|
|
clap_lex = { path = "../clap_lex", version = "0.7.0" }
|
2023-03-25 01:47:27 +00:00
|
|
|
unicase = { version = "2.6.0", optional = true }
|
2024-02-01 01:06:03 +00:00
|
|
|
strsim = { version = "0.11.0", optional = true }
|
2024-01-12 02:33:39 +00:00
|
|
|
anstream = { version = "0.6.7", optional = true }
|
2024-08-08 12:58:34 +00:00
|
|
|
anstyle = "1.0.8"
|
2024-10-01 00:37:02 +00:00
|
|
|
terminal_size = { version = "0.4.0", optional = true }
|
2024-07-26 14:36:43 +00:00
|
|
|
backtrace = { version = "0.3.73", optional = true }
|
2024-10-01 04:15:19 +00:00
|
|
|
unicode-width = { version = "0.2.0", optional = true }
|
2023-03-25 01:47:27 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
static_assertions = "1.1.0"
|
|
|
|
unic-emoji-char = "0.9.0"
|
2024-05-01 01:04:57 +00:00
|
|
|
color-print = "0.3.6"
|
2024-05-04 19:59:40 +00:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|