| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2024" |
| 14 |
rust-version = "1.85" |
| 15 |
name = "clap_builder" |
| 16 |
version = "4.6.7" |
| 17 |
build = false |
| 18 |
include = [ |
| 19 |
"/build.rs", |
| 20 |
"/src/**/*", |
| 21 |
"/Cargo.toml", |
| 22 |
"/Cargo.lock", |
| 23 |
"/LICENSE*", |
| 24 |
"/README.md", |
| 25 |
"/examples/**/*", |
| 26 |
] |
| 27 |
autolib = false |
| 28 |
autobins = false |
| 29 |
autoexamples = false |
| 30 |
autotests = false |
| 31 |
autobenches = false |
| 32 |
description = "A simple to use, efficient, and full-featured Command Line Argument Parser" |
| 33 |
readme = "README.md" |
| 34 |
keywords = [ |
| 35 |
"argument", |
| 36 |
"cli", |
| 37 |
"arg", |
| 38 |
"parser", |
| 39 |
"parse", |
| 40 |
] |
| 41 |
categories = ["command-line-interface"] |
| 42 |
license = "MIT OR Apache-2.0" |
| 43 |
repository = "https://github.com/clap-rs/clap" |
| 44 |
resolver = "2" |
| 45 |
|
| 46 |
[package.metadata.docs.rs] |
| 47 |
features = ["unstable-doc"] |
| 48 |
rustdoc-args = ["--generate-link-to-definition"] |
| 49 |
|
| 50 |
[package.metadata.playground] |
| 51 |
features = ["unstable-doc"] |
| 52 |
|
| 53 |
[package.metadata.release] |
| 54 |
shared-version = true |
| 55 |
dependent-version = "upgrade" |
| 56 |
tag-name = "v{{version}}" |
| 57 |
|
| 58 |
[features] |
| 59 |
cargo = [] |
| 60 |
color = ["dep:anstream"] |
| 61 |
debug = ["dep:backtrace"] |
| 62 |
default = [ |
| 63 |
"std", |
| 64 |
"color", |
| 65 |
"help", |
| 66 |
"usage", |
| 67 |
"error-context", |
| 68 |
"suggestions", |
| 69 |
] |
| 70 |
deprecated = [] |
| 71 |
env = [] |
| 72 |
error-context = [] |
| 73 |
help = [] |
| 74 |
std = ["anstyle/std"] |
| 75 |
string = [] |
| 76 |
suggestions = [ |
| 77 |
"dep:strsim", |
| 78 |
"error-context", |
| 79 |
] |
| 80 |
unicode = [ |
| 81 |
"dep:unicode-width", |
| 82 |
"dep:unicase", |
| 83 |
] |
| 84 |
unstable-doc = [ |
| 85 |
"cargo", |
| 86 |
"wrap_help", |
| 87 |
"env", |
| 88 |
"unicode", |
| 89 |
"string", |
| 90 |
"unstable-ext", |
| 91 |
] |
| 92 |
unstable-ext = [] |
| 93 |
unstable-styles = ["color"] |
| 94 |
unstable-v5 = ["deprecated"] |
| 95 |
usage = [] |
| 96 |
wrap_help = [ |
| 97 |
"help", |
| 98 |
"dep:terminal_size", |
| 99 |
] |
| 100 |
|
| 101 |
[lib] |
| 102 |
name = "clap_builder" |
| 103 |
path = "src/lib.rs" |
| 104 |
bench = false |
| 105 |
|
| 106 |
[dependencies.anstream] |
| 107 |
version = "1.0.0" |
| 108 |
optional = true |
| 109 |
|
| 110 |
[dependencies.anstyle] |
| 111 |
version = "1.0.14" |
| 112 |
|
| 113 |
[dependencies.backtrace] |
| 114 |
version = "0.3.76" |
| 115 |
optional = true |
| 116 |
|
| 117 |
[dependencies.clap_lex] |
| 118 |
version = "1.0.0" |
| 119 |
|
| 120 |
[dependencies.strsim] |
| 121 |
version = "0.11.1" |
| 122 |
optional = true |
| 123 |
|
| 124 |
[dependencies.terminal_size] |
| 125 |
version = "0.4.4" |
| 126 |
optional = true |
| 127 |
|
| 128 |
[dependencies.unicase] |
| 129 |
version = "2.9.0" |
| 130 |
optional = true |
| 131 |
|
| 132 |
[dependencies.unicode-width] |
| 133 |
version = "0.2.2" |
| 134 |
optional = true |
| 135 |
|
| 136 |
[dev-dependencies.color-print] |
| 137 |
version = "0.3.7" |
| 138 |
|
| 139 |
[dev-dependencies.snapbox] |
| 140 |
version = "1.2.0" |
| 141 |
|
| 142 |
[dev-dependencies.static_assertions] |
| 143 |
version = "1.1.0" |
| 144 |
|
| 145 |
[dev-dependencies.unic-emoji-char] |
| 146 |
version = "0.9.0" |
| 147 |
|
| 148 |
[lints.clippy] |
| 149 |
assigning_clones = "allow" |
| 150 |
blocks_in_conditions = "allow" |
| 151 |
bool_assert_comparison = "allow" |
| 152 |
branches_sharing_code = "allow" |
| 153 |
byte_char_slices = "allow" |
| 154 |
checked_conversions = "warn" |
| 155 |
collapsible_else_if = "allow" |
| 156 |
collapsible_match = "allow" |
| 157 |
collection_is_never_read = "warn" |
| 158 |
create_dir = "warn" |
| 159 |
dbg_macro = "warn" |
| 160 |
debug_assert_with_mut_call = "warn" |
| 161 |
doc_markdown = "warn" |
| 162 |
empty_enums = "warn" |
| 163 |
enum_glob_use = "warn" |
| 164 |
expl_impl_clone_on_copy = "warn" |
| 165 |
explicit_deref_methods = "warn" |
| 166 |
explicit_into_iter_loop = "warn" |
| 167 |
fallible_impl_from = "warn" |
| 168 |
filter_map_next = "warn" |
| 169 |
flat_map_option = "warn" |
| 170 |
float_cmp = "warn" |
| 171 |
float_cmp_const = "warn" |
| 172 |
fn_params_excessive_bools = "warn" |
| 173 |
fn_to_numeric_cast_any = "warn" |
| 174 |
if_same_then_else = "allow" |
| 175 |
implicit_clone = "warn" |
| 176 |
imprecise_flops = "warn" |
| 177 |
inconsistent_struct_constructor = "warn" |
| 178 |
inefficient_to_string = "warn" |
| 179 |
infinite_loop = "warn" |
| 180 |
invalid_upcast_comparisons = "warn" |
| 181 |
large_digit_groups = "warn" |
| 182 |
large_stack_arrays = "warn" |
| 183 |
large_types_passed_by_value = "warn" |
| 184 |
let_and_return = "allow" |
| 185 |
linkedlist = "warn" |
| 186 |
lossy_float_literal = "warn" |
| 187 |
macro_use_imports = "warn" |
| 188 |
mem_forget = "warn" |
| 189 |
mismatching_type_param_order = "warn" |
| 190 |
multiple_bound_locations = "allow" |
| 191 |
mutex_integer = "warn" |
| 192 |
needless_continue = "allow" |
| 193 |
needless_for_each = "warn" |
| 194 |
negative_feature_names = "warn" |
| 195 |
partial_pub_fields = "warn" |
| 196 |
path_buf_push_overwrite = "warn" |
| 197 |
ptr_as_ptr = "warn" |
| 198 |
rc_mutex = "warn" |
| 199 |
redundant_feature_names = "warn" |
| 200 |
ref_option_ref = "warn" |
| 201 |
rest_pat_in_fully_bound_structs = "warn" |
| 202 |
result_large_err = "allow" |
| 203 |
same_functions_in_if_condition = "warn" |
| 204 |
self_named_module_files = "warn" |
| 205 |
semicolon_if_nothing_returned = "warn" |
| 206 |
str_to_string = "warn" |
| 207 |
string_add = "warn" |
| 208 |
string_add_assign = "warn" |
| 209 |
string_lit_as_bytes = "warn" |
| 210 |
todo = "warn" |
| 211 |
trait_duplication_in_bounds = "warn" |
| 212 |
uninlined_format_args = "warn" |
| 213 |
unnecessary_safety_comment = "warn" |
| 214 |
unnecessary_safety_doc = "warn" |
| 215 |
unseparated_literal_suffix = "warn" |
| 216 |
use_self = "warn" |
| 217 |
verbose_file_reads = "warn" |
| 218 |
zero_sized_map_values = "warn" |
| 219 |
|
| 220 |
[lints.rust] |
| 221 |
non_ascii_idents = "warn" |
| 222 |
trivial_numeric_casts = "warn" |
| 223 |
unreachable_pub = "warn" |
| 224 |
unsafe_op_in_unsafe_fn = "warn" |
| 225 |
unused_lifetimes = "warn" |
| 226 |
unused_macro_rules = "warn" |
| 227 |
unused_qualifications = "warn" |
| 228 |
|
| 229 |
[lints.rust.rust_2018_idioms] |
| 230 |
level = "warn" |
| 231 |
priority = -1 |