[package]
name = "clap_builder"
version = "4.3.23"
description = "A simple to use, efficient, and full-featured Command Line Argument Parser"
repository = "https://github.com/clap-rs/clap"
categories = ["command-line-interface"]
keywords = [
"argument",
"cli",
"arg",
"parser",
"parse"
]
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]
default = ["std", "color", "help", "usage", "error-context", "suggestions"]
debug = ["dep:backtrace"]
unstable-doc = ["cargo", "wrap_help", "env", "unicode", "string", "unstable-styles"]
std = ["anstyle/std"]
color = ["dep:anstream"]
help = []
usage = []
error-context = []
suggestions = ["dep:strsim", "error-context"]
deprecated = []
cargo = ["dep:once_cell"]
wrap_help = ["help", "dep:terminal_size"]
env = []
unicode = ["dep:unicode-width", "dep:unicase"]
string = []
unstable-v5 = ["deprecated"]
unstable-styles = ["color"]
[lib]
bench = false
[dependencies]
clap_lex = { path = "../clap_lex", version = "0.5.0" }
unicase = { version = "2.6.0", optional = true }
strsim = { version = "0.10.0", optional = true }
anstream = { version = "0.3.0", optional = true }
anstyle = "1.0.0"
terminal_size = { version = "0.2.1", optional = true }
backtrace = { version = "0.3.67", optional = true }
unicode-width = { version = "0.1.9", optional = true }
once_cell = { version = "1.12.0", optional = true }
[dev-dependencies]
trybuild = "1.0.82"
rustversion = "1.0.14"
trycmd = { version = "0.14.16", default-features = false, features = ["color-auto", "diff", "examples"] }
humantime = "2.1.0"
snapbox = "0.4.11"
shlex = "1.1.0"
static_assertions = "1.1.0"
unic-emoji-char = "0.9.0"
color-print = "0.3.4"