2023-03-25 01:47:27 +00:00
|
|
|
[package]
|
|
|
|
name = "clap_builder"
|
2023-08-17 13:59:45 +00:00
|
|
|
version = "4.3.22"
|
2023-03-25 01:47:27 +00:00
|
|
|
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]
|
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
|
2023-04-18 19:54:16 +00:00
|
|
|
unstable-doc = ["cargo", "wrap_help", "env", "unicode", "string", "unstable-styles"] # 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)
|
|
|
|
cargo = ["dep:once_cell"] # Disable if you're not using Cargo, enables Cargo-env-var-dependent macros
|
|
|
|
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"]
|
2023-04-18 19:54:16 +00:00
|
|
|
unstable-styles = ["color"]
|
2023-03-25 01:47:27 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
|
|
|
[dependencies]
|
2023-05-19 16:48:29 +00:00
|
|
|
clap_lex = { path = "../clap_lex", version = "0.5.0" }
|
2023-03-25 01:47:27 +00:00
|
|
|
unicase = { version = "2.6.0", optional = true }
|
|
|
|
strsim = { version = "0.10.0", optional = true }
|
2023-04-13 02:25:42 +00:00
|
|
|
anstream = { version = "0.3.0", optional = true }
|
2023-04-13 07:47:57 +00:00
|
|
|
anstyle = "1.0.0"
|
2023-03-25 01:47:27 +00:00
|
|
|
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]
|
2023-08-01 01:20:36 +00:00
|
|
|
trybuild = "1.0.82"
|
|
|
|
rustversion = "1.0.14"
|
2023-03-25 01:47:27 +00:00
|
|
|
# Cutting out `filesystem` feature
|
2023-06-01 00:38:25 +00:00
|
|
|
trycmd = { version = "0.14.16", default-features = false, features = ["color-auto", "diff", "examples"] }
|
2023-03-25 01:47:27 +00:00
|
|
|
humantime = "2.1.0"
|
2023-06-01 00:38:25 +00:00
|
|
|
snapbox = "0.4.11"
|
2023-03-25 01:47:27 +00:00
|
|
|
shlex = "1.1.0"
|
|
|
|
static_assertions = "1.1.0"
|
|
|
|
unic-emoji-char = "0.9.0"
|
2023-03-16 20:11:12 +00:00
|
|
|
color-print = "0.3.4"
|