| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.74" |
| 15 |
name = "clap_builder" |
| 16 |
version = "4.5.56" |
| 17 |
build = false |
| 18 |
include = [ |
| 19 |
"build.rs", |
| 20 |
"src/**/*", |
| 21 |
"Cargo.toml", |
| 22 |
"LICENSE*", |
| 23 |
"README.md", |
| 24 |
"examples/**/*", |
| 25 |
] |
| 26 |
autolib = false |
| 27 |
autobins = false |
| 28 |
autoexamples = false |
| 29 |
autotests = false |
| 30 |
autobenches = false |
| 31 |
description = "A simple to use, efficient, and full-featured Command Line Argument Parser" |
| 32 |
readme = "README.md" |
| 33 |
keywords = [ |
| 34 |
"argument", |
| 35 |
"cli", |
| 36 |
"arg", |
| 37 |
"parser", |
| 38 |
"parse", |
| 39 |
] |
| 40 |
categories = ["command-line-interface"] |
| 41 |
license = "MIT OR Apache-2.0" |
| 42 |
repository = "https://github.com/clap-rs/clap" |
| 43 |
|
| 44 |
[package.metadata.docs.rs] |
| 45 |
features = ["unstable-doc"] |
| 46 |
rustdoc-args = ["--generate-link-to-definition"] |
| 47 |
|
| 48 |
[package.metadata.playground] |
| 49 |
features = ["unstable-doc"] |
| 50 |
|
| 51 |
[package.metadata.release] |
| 52 |
shared-version = true |
| 53 |
dependent-version = "upgrade" |
| 54 |
tag-name = "v{{version}}" |
| 55 |
|
| 56 |
[features] |
| 57 |
cargo = [] |
| 58 |
color = ["dep:anstream"] |
| 59 |
debug = ["dep:backtrace"] |
| 60 |
default = [ |
| 61 |
"std", |
| 62 |
"color", |
| 63 |
"help", |
| 64 |
"usage", |
| 65 |
"error-context", |
| 66 |
"suggestions", |
| 67 |
] |
| 68 |
deprecated = [] |
| 69 |
env = [] |
| 70 |
error-context = [] |
| 71 |
help = [] |
| 72 |
std = ["anstyle/std"] |
| 73 |
string = [] |
| 74 |
suggestions = [ |
| 75 |
"dep:strsim", |
| 76 |
"error-context", |
| 77 |
] |
| 78 |
unicode = [ |
| 79 |
"dep:unicode-width", |
| 80 |
"dep:unicase", |
| 81 |
] |
| 82 |
unstable-doc = [ |
| 83 |
"cargo", |
| 84 |
"wrap_help", |
| 85 |
"env", |
| 86 |
"unicode", |
| 87 |
"string", |
| 88 |
"unstable-ext", |
| 89 |
] |
| 90 |
unstable-ext = [] |
| 91 |
unstable-styles = ["color"] |
| 92 |
unstable-v5 = ["deprecated"] |
| 93 |
usage = [] |
| 94 |
wrap_help = [ |
| 95 |
"help", |
| 96 |
"dep:terminal_size", |
| 97 |
] |
| 98 |
|
| 99 |
[lib] |
| 100 |
name = "clap_builder" |
| 101 |
path = "src/lib.rs" |
| 102 |
bench = false |
| 103 |
|
| 104 |
[dependencies.anstream] |
| 105 |
version = "0.6.7" |
| 106 |
optional = true |
| 107 |
|
| 108 |
[dependencies.anstyle] |
| 109 |
version = "1.0.8" |
| 110 |
|
| 111 |
[dependencies.backtrace] |
| 112 |
version = "0.3.73" |
| 113 |
optional = true |
| 114 |
|
| 115 |
[dependencies.clap_lex] |
| 116 |
version = "0.7.4" |
| 117 |
|
| 118 |
[dependencies.strsim] |
| 119 |
version = "0.11.0" |
| 120 |
optional = true |
| 121 |
|
| 122 |
[dependencies.terminal_size] |
| 123 |
version = "0.4.0" |
| 124 |
optional = true |
| 125 |
|
| 126 |
[dependencies.unicase] |
| 127 |
version = "2.6.0" |
| 128 |
optional = true |
| 129 |
|
| 130 |
[dependencies.unicode-width] |
| 131 |
version = "0.2.0" |
| 132 |
optional = true |
| 133 |
|
| 134 |
[dev-dependencies.color-print] |
| 135 |
version = "0.3.6" |
| 136 |
|
| 137 |
[dev-dependencies.snapbox] |
| 138 |
version = "0.6.16" |
| 139 |
|
| 140 |
[dev-dependencies.static_assertions] |
| 141 |
version = "1.1.0" |
| 142 |
|
| 143 |
[dev-dependencies.unic-emoji-char] |
| 144 |
version = "0.9.0" |
| 145 |
|
| 146 |
[lints.clippy] |
| 147 |
assigning_clones = "allow" |
| 148 |
blocks_in_conditions = "allow" |
| 149 |
bool_assert_comparison = "allow" |
| 150 |
branches_sharing_code = "allow" |
| 151 |
checked_conversions = "warn" |
| 152 |
collapsible_else_if = "allow" |
| 153 |
create_dir = "warn" |
| 154 |
dbg_macro = "warn" |
| 155 |
debug_assert_with_mut_call = "warn" |
| 156 |
doc_markdown = "warn" |
| 157 |
empty_enums = "warn" |
| 158 |
enum_glob_use = "warn" |
| 159 |
expl_impl_clone_on_copy = "warn" |
| 160 |
explicit_deref_methods = "warn" |
| 161 |
explicit_into_iter_loop = "warn" |
| 162 |
fallible_impl_from = "warn" |
| 163 |
filter_map_next = "warn" |
| 164 |
flat_map_option = "warn" |
| 165 |
float_cmp_const = "warn" |
| 166 |
fn_params_excessive_bools = "warn" |
| 167 |
from_iter_instead_of_collect = "warn" |
| 168 |
if_same_then_else = "allow" |
| 169 |
implicit_clone = "warn" |
| 170 |
imprecise_flops = "warn" |
| 171 |
inconsistent_struct_constructor = "warn" |
| 172 |
inefficient_to_string = "warn" |
| 173 |
infinite_loop = "warn" |
| 174 |
invalid_upcast_comparisons = "warn" |
| 175 |
large_digit_groups = "warn" |
| 176 |
large_stack_arrays = "warn" |
| 177 |
large_types_passed_by_value = "warn" |
| 178 |
let_and_return = "allow" |
| 179 |
linkedlist = "warn" |
| 180 |
lossy_float_literal = "warn" |
| 181 |
macro_use_imports = "warn" |
| 182 |
mem_forget = "warn" |
| 183 |
multiple_bound_locations = "allow" |
| 184 |
mutex_integer = "warn" |
| 185 |
needless_continue = "allow" |
| 186 |
needless_for_each = "warn" |
| 187 |
negative_feature_names = "warn" |
| 188 |
path_buf_push_overwrite = "warn" |
| 189 |
ptr_as_ptr = "warn" |
| 190 |
rc_mutex = "warn" |
| 191 |
redundant_feature_names = "warn" |
| 192 |
ref_option_ref = "warn" |
| 193 |
rest_pat_in_fully_bound_structs = "warn" |
| 194 |
result_large_err = "allow" |
| 195 |
same_functions_in_if_condition = "warn" |
| 196 |
self_named_module_files = "warn" |
| 197 |
semicolon_if_nothing_returned = "warn" |
| 198 |
string_add_assign = "warn" |
| 199 |
string_lit_as_bytes = "warn" |
| 200 |
todo = "warn" |
| 201 |
trait_duplication_in_bounds = "warn" |
| 202 |
uninlined_format_args = "warn" |
| 203 |
verbose_file_reads = "warn" |
| 204 |
zero_sized_map_values = "warn" |
| 205 |
|
| 206 |
[lints.rust] |
| 207 |
unnameable_types = "allow" |
| 208 |
unreachable_pub = "warn" |
| 209 |
unsafe_op_in_unsafe_fn = "warn" |
| 210 |
unused_lifetimes = "warn" |
| 211 |
unused_macro_rules = "warn" |
| 212 |
unused_qualifications = "warn" |
| 213 |
|
| 214 |
[lints.rust.rust_2018_idioms] |
| 215 |
level = "warn" |
| 216 |
priority = -1 |