| 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" |
| 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 |
tag-name = "v{{version}}" |
| 56 |
|
| 57 |
[[package.metadata.release.pre-release-replacements]] |
| 58 |
file = "CHANGELOG.md" |
| 59 |
search = "Unreleased" |
| 60 |
replace = "{{version}}" |
| 61 |
min = 1 |
| 62 |
|
| 63 |
[[package.metadata.release.pre-release-replacements]] |
| 64 |
file = "CHANGELOG.md" |
| 65 |
search = '\.\.\.HEAD' |
| 66 |
replace = "...{{tag_name}}" |
| 67 |
exactly = 1 |
| 68 |
|
| 69 |
[[package.metadata.release.pre-release-replacements]] |
| 70 |
file = "CHANGELOG.md" |
| 71 |
search = "ReleaseDate" |
| 72 |
replace = "{{date}}" |
| 73 |
min = 1 |
| 74 |
|
| 75 |
[[package.metadata.release.pre-release-replacements]] |
| 76 |
file = "CHANGELOG.md" |
| 77 |
search = "<!-- next-header -->" |
| 78 |
replace = """ |
| 79 |
<!-- next-header --> |
| 80 |
## [Unreleased] - ReleaseDate |
| 81 |
""" |
| 82 |
exactly = 1 |
| 83 |
|
| 84 |
[[package.metadata.release.pre-release-replacements]] |
| 85 |
file = "CHANGELOG.md" |
| 86 |
search = "<!-- next-url -->" |
| 87 |
replace = """ |
| 88 |
<!-- next-url --> |
| 89 |
[Unreleased]: {{repository}}/compare/{{tag_name}}...HEAD""" |
| 90 |
exactly = 1 |
| 91 |
|
| 92 |
[[package.metadata.release.pre-release-replacements]] |
| 93 |
file = "CITATION.cff" |
| 94 |
search = "^date-released: ....-..-.." |
| 95 |
replace = "date-released: {{date}}" |
| 96 |
|
| 97 |
[[package.metadata.release.pre-release-replacements]] |
| 98 |
file = "CITATION.cff" |
| 99 |
search = '^version: .+\..+\..+' |
| 100 |
replace = "version: {{version}}" |
| 101 |
|
| 102 |
[[package.metadata.release.pre-release-replacements]] |
| 103 |
file = "src/lib.rs" |
| 104 |
search = 'blob/v.+\..+\..+/CHANGELOG.md' |
| 105 |
replace = "blob/v{{version}}/CHANGELOG.md" |
| 106 |
exactly = 1 |
| 107 |
|
| 108 |
[features] |
| 109 |
cargo = ["clap_builder/cargo"] |
| 110 |
color = ["clap_builder/color"] |
| 111 |
debug = [ |
| 112 |
"clap_builder/debug", |
| 113 |
"clap_derive?/debug", |
| 114 |
] |
| 115 |
default = [ |
| 116 |
"std", |
| 117 |
"color", |
| 118 |
"help", |
| 119 |
"usage", |
| 120 |
"error-context", |
| 121 |
"suggestions", |
| 122 |
] |
| 123 |
deprecated = [ |
| 124 |
"clap_builder/deprecated", |
| 125 |
"clap_derive?/deprecated", |
| 126 |
] |
| 127 |
derive = ["dep:clap_derive"] |
| 128 |
env = ["clap_builder/env"] |
| 129 |
error-context = ["clap_builder/error-context"] |
| 130 |
help = ["clap_builder/help"] |
| 131 |
std = ["clap_builder/std"] |
| 132 |
string = ["clap_builder/string"] |
| 133 |
suggestions = ["clap_builder/suggestions"] |
| 134 |
unicode = ["clap_builder/unicode"] |
| 135 |
unstable-derive-ui-tests = [] |
| 136 |
unstable-doc = [ |
| 137 |
"clap_builder/unstable-doc", |
| 138 |
"derive", |
| 139 |
] |
| 140 |
unstable-ext = ["clap_builder/unstable-ext"] |
| 141 |
unstable-markdown = ["clap_derive/unstable-markdown"] |
| 142 |
unstable-styles = ["clap_builder/unstable-styles"] |
| 143 |
unstable-v5 = [ |
| 144 |
"clap_builder/unstable-v5", |
| 145 |
"clap_derive?/unstable-v5", |
| 146 |
"deprecated", |
| 147 |
] |
| 148 |
usage = ["clap_builder/usage"] |
| 149 |
wrap_help = ["clap_builder/wrap_help"] |
| 150 |
|
| 151 |
[lib] |
| 152 |
name = "clap" |
| 153 |
path = "src/lib.rs" |
| 154 |
bench = false |
| 155 |
|
| 156 |
[[bin]] |
| 157 |
name = "stdio-fixture" |
| 158 |
path = "src/bin/stdio-fixture.rs" |
| 159 |
|
| 160 |
[[example]] |
| 161 |
name = "01_quick" |
| 162 |
path = "examples/tutorial_builder/01_quick.rs" |
| 163 |
doc-scrape-examples = true |
| 164 |
required-features = ["cargo"] |
| 165 |
|
| 166 |
[[example]] |
| 167 |
name = "01_quick_derive" |
| 168 |
path = "examples/tutorial_derive/01_quick.rs" |
| 169 |
doc-scrape-examples = true |
| 170 |
required-features = ["derive"] |
| 171 |
|
| 172 |
[[example]] |
| 173 |
name = "02_app_settings" |
| 174 |
path = "examples/tutorial_builder/02_app_settings.rs" |
| 175 |
doc-scrape-examples = true |
| 176 |
required-features = ["cargo"] |
| 177 |
|
| 178 |
[[example]] |
| 179 |
name = "02_app_settings_derive" |
| 180 |
path = "examples/tutorial_derive/02_app_settings.rs" |
| 181 |
doc-scrape-examples = true |
| 182 |
required-features = ["derive"] |
| 183 |
|
| 184 |
[[example]] |
| 185 |
name = "02_apps" |
| 186 |
path = "examples/tutorial_builder/02_apps.rs" |
| 187 |
doc-scrape-examples = true |
| 188 |
|
| 189 |
[[example]] |
| 190 |
name = "02_apps_derive" |
| 191 |
path = "examples/tutorial_derive/02_apps.rs" |
| 192 |
doc-scrape-examples = true |
| 193 |
required-features = ["derive"] |
| 194 |
|
| 195 |
[[example]] |
| 196 |
name = "02_crate" |
| 197 |
path = "examples/tutorial_builder/02_crate.rs" |
| 198 |
doc-scrape-examples = true |
| 199 |
required-features = ["cargo"] |
| 200 |
|
| 201 |
[[example]] |
| 202 |
name = "02_crate_derive" |
| 203 |
path = "examples/tutorial_derive/02_crate.rs" |
| 204 |
doc-scrape-examples = true |
| 205 |
required-features = ["derive"] |
| 206 |
|
| 207 |
[[example]] |
| 208 |
name = "03_01_flag_bool" |
| 209 |
path = "examples/tutorial_builder/03_01_flag_bool.rs" |
| 210 |
doc-scrape-examples = true |
| 211 |
required-features = ["cargo"] |
| 212 |
|
| 213 |
[[example]] |
| 214 |
name = "03_01_flag_bool_derive" |
| 215 |
path = "examples/tutorial_derive/03_01_flag_bool.rs" |
| 216 |
doc-scrape-examples = true |
| 217 |
required-features = ["derive"] |
| 218 |
|
| 219 |
[[example]] |
| 220 |
name = "03_01_flag_count" |
| 221 |
path = "examples/tutorial_builder/03_01_flag_count.rs" |
| 222 |
doc-scrape-examples = true |
| 223 |
required-features = ["cargo"] |
| 224 |
|
| 225 |
[[example]] |
| 226 |
name = "03_01_flag_count_derive" |
| 227 |
path = "examples/tutorial_derive/03_01_flag_count.rs" |
| 228 |
doc-scrape-examples = true |
| 229 |
required-features = ["derive"] |
| 230 |
|
| 231 |
[[example]] |
| 232 |
name = "03_02_option" |
| 233 |
path = "examples/tutorial_builder/03_02_option.rs" |
| 234 |
doc-scrape-examples = true |
| 235 |
required-features = ["cargo"] |
| 236 |
|
| 237 |
[[example]] |
| 238 |
name = "03_02_option_derive" |
| 239 |
path = "examples/tutorial_derive/03_02_option.rs" |
| 240 |
doc-scrape-examples = true |
| 241 |
required-features = ["derive"] |
| 242 |
|
| 243 |
[[example]] |
| 244 |
name = "03_02_option_mult" |
| 245 |
path = "examples/tutorial_builder/03_02_option_mult.rs" |
| 246 |
doc-scrape-examples = true |
| 247 |
required-features = ["cargo"] |
| 248 |
|
| 249 |
[[example]] |
| 250 |
name = "03_02_option_mult_derive" |
| 251 |
path = "examples/tutorial_derive/03_02_option_mult.rs" |
| 252 |
doc-scrape-examples = true |
| 253 |
required-features = ["derive"] |
| 254 |
|
| 255 |
[[example]] |
| 256 |
name = "03_03_positional" |
| 257 |
path = "examples/tutorial_builder/03_03_positional.rs" |
| 258 |
doc-scrape-examples = true |
| 259 |
required-features = ["cargo"] |
| 260 |
|
| 261 |
[[example]] |
| 262 |
name = "03_03_positional_derive" |
| 263 |
path = "examples/tutorial_derive/03_03_positional.rs" |
| 264 |
doc-scrape-examples = true |
| 265 |
required-features = ["derive"] |
| 266 |
|
| 267 |
[[example]] |
| 268 |
name = "03_03_positional_mult" |
| 269 |
path = "examples/tutorial_builder/03_03_positional_mult.rs" |
| 270 |
doc-scrape-examples = true |
| 271 |
required-features = ["cargo"] |
| 272 |
|
| 273 |
[[example]] |
| 274 |
name = "03_03_positional_mult_derive" |
| 275 |
path = "examples/tutorial_derive/03_03_positional_mult.rs" |
| 276 |
doc-scrape-examples = true |
| 277 |
required-features = ["derive"] |
| 278 |
|
| 279 |
[[example]] |
| 280 |
name = "03_04_subcommands" |
| 281 |
path = "examples/tutorial_builder/03_04_subcommands.rs" |
| 282 |
doc-scrape-examples = true |
| 283 |
required-features = ["cargo"] |
| 284 |
|
| 285 |
[[example]] |
| 286 |
name = "03_04_subcommands_alt_derive" |
| 287 |
path = "examples/tutorial_derive/03_04_subcommands_alt.rs" |
| 288 |
doc-scrape-examples = true |
| 289 |
required-features = ["derive"] |
| 290 |
|
| 291 |
[[example]] |
| 292 |
name = "03_04_subcommands_derive" |
| 293 |
path = "examples/tutorial_derive/03_04_subcommands.rs" |
| 294 |
doc-scrape-examples = true |
| 295 |
required-features = ["derive"] |
| 296 |
|
| 297 |
[[example]] |
| 298 |
name = "03_05_default_values" |
| 299 |
path = "examples/tutorial_builder/03_05_default_values.rs" |
| 300 |
doc-scrape-examples = true |
| 301 |
required-features = ["cargo"] |
| 302 |
|
| 303 |
[[example]] |
| 304 |
name = "03_05_default_values_derive" |
| 305 |
path = "examples/tutorial_derive/03_05_default_values.rs" |
| 306 |
doc-scrape-examples = true |
| 307 |
required-features = ["derive"] |
| 308 |
|
| 309 |
[[example]] |
| 310 |
name = "03_06_optional_derive" |
| 311 |
path = "examples/tutorial_derive/03_06_optional.rs" |
| 312 |
doc-scrape-examples = true |
| 313 |
required-features = ["derive"] |
| 314 |
|
| 315 |
[[example]] |
| 316 |
name = "03_06_required" |
| 317 |
path = "examples/tutorial_builder/03_06_required.rs" |
| 318 |
doc-scrape-examples = true |
| 319 |
required-features = ["cargo"] |
| 320 |
|
| 321 |
[[example]] |
| 322 |
name = "04_01_enum" |
| 323 |
path = "examples/tutorial_builder/04_01_enum.rs" |
| 324 |
doc-scrape-examples = true |
| 325 |
required-features = ["cargo"] |
| 326 |
|
| 327 |
[[example]] |
| 328 |
name = "04_01_enum_derive" |
| 329 |
path = "examples/tutorial_derive/04_01_enum.rs" |
| 330 |
doc-scrape-examples = true |
| 331 |
required-features = ["derive"] |
| 332 |
|
| 333 |
[[example]] |
| 334 |
name = "04_01_possible" |
| 335 |
path = "examples/tutorial_builder/04_01_possible.rs" |
| 336 |
doc-scrape-examples = true |
| 337 |
required-features = ["cargo"] |
| 338 |
|
| 339 |
[[example]] |
| 340 |
name = "04_02_parse" |
| 341 |
path = "examples/tutorial_builder/04_02_parse.rs" |
| 342 |
doc-scrape-examples = true |
| 343 |
required-features = ["cargo"] |
| 344 |
|
| 345 |
[[example]] |
| 346 |
name = "04_02_parse_derive" |
| 347 |
path = "examples/tutorial_derive/04_02_parse.rs" |
| 348 |
doc-scrape-examples = true |
| 349 |
required-features = ["derive"] |
| 350 |
|
| 351 |
[[example]] |
| 352 |
name = "04_02_validate" |
| 353 |
path = "examples/tutorial_builder/04_02_validate.rs" |
| 354 |
doc-scrape-examples = true |
| 355 |
required-features = ["cargo"] |
| 356 |
|
| 357 |
[[example]] |
| 358 |
name = "04_02_validate_derive" |
| 359 |
path = "examples/tutorial_derive/04_02_validate.rs" |
| 360 |
doc-scrape-examples = true |
| 361 |
required-features = ["derive"] |
| 362 |
|
| 363 |
[[example]] |
| 364 |
name = "04_03_relations" |
| 365 |
path = "examples/tutorial_builder/04_03_relations.rs" |
| 366 |
doc-scrape-examples = true |
| 367 |
required-features = ["cargo"] |
| 368 |
|
| 369 |
[[example]] |
| 370 |
name = "04_03_relations_derive" |
| 371 |
path = "examples/tutorial_derive/04_03_relations.rs" |
| 372 |
doc-scrape-examples = true |
| 373 |
required-features = ["derive"] |
| 374 |
|
| 375 |
[[example]] |
| 376 |
name = "04_04_custom" |
| 377 |
path = "examples/tutorial_builder/04_04_custom.rs" |
| 378 |
doc-scrape-examples = true |
| 379 |
required-features = ["cargo"] |
| 380 |
|
| 381 |
[[example]] |
| 382 |
name = "04_04_custom_derive" |
| 383 |
path = "examples/tutorial_derive/04_04_custom.rs" |
| 384 |
doc-scrape-examples = true |
| 385 |
required-features = ["derive"] |
| 386 |
|
| 387 |
[[example]] |
| 388 |
name = "05_01_assert" |
| 389 |
path = "examples/tutorial_builder/05_01_assert.rs" |
| 390 |
test = true |
| 391 |
doc-scrape-examples = true |
| 392 |
required-features = ["cargo"] |
| 393 |
|
| 394 |
[[example]] |
| 395 |
name = "05_01_assert_derive" |
| 396 |
path = "examples/tutorial_derive/05_01_assert.rs" |
| 397 |
test = true |
| 398 |
doc-scrape-examples = true |
| 399 |
required-features = ["derive"] |
| 400 |
|
| 401 |
[[example]] |
| 402 |
name = "busybox" |
| 403 |
path = "examples/multicall-busybox.rs" |
| 404 |
doc-scrape-examples = true |
| 405 |
|
| 406 |
[[example]] |
| 407 |
name = "cargo-example" |
| 408 |
path = "examples/cargo-example.rs" |
| 409 |
doc-scrape-examples = true |
| 410 |
required-features = [ |
| 411 |
"cargo", |
| 412 |
"color", |
| 413 |
] |
| 414 |
|
| 415 |
[[example]] |
| 416 |
name = "cargo-example-derive" |
| 417 |
path = "examples/cargo-example-derive.rs" |
| 418 |
doc-scrape-examples = true |
| 419 |
required-features = [ |
| 420 |
"derive", |
| 421 |
"color", |
| 422 |
] |
| 423 |
|
| 424 |
[[example]] |
| 425 |
name = "demo" |
| 426 |
path = "examples/demo.rs" |
| 427 |
doc-scrape-examples = true |
| 428 |
required-features = ["derive"] |
| 429 |
|
| 430 |
[[example]] |
| 431 |
name = "escaped-positional" |
| 432 |
path = "examples/escaped-positional.rs" |
| 433 |
doc-scrape-examples = true |
| 434 |
required-features = ["cargo"] |
| 435 |
|
| 436 |
[[example]] |
| 437 |
name = "escaped-positional-derive" |
| 438 |
path = "examples/escaped-positional-derive.rs" |
| 439 |
doc-scrape-examples = true |
| 440 |
required-features = ["derive"] |
| 441 |
|
| 442 |
[[example]] |
| 443 |
name = "find" |
| 444 |
path = "examples/find.rs" |
| 445 |
doc-scrape-examples = true |
| 446 |
required-features = ["cargo"] |
| 447 |
|
| 448 |
[[example]] |
| 449 |
name = "git" |
| 450 |
path = "examples/git.rs" |
| 451 |
doc-scrape-examples = true |
| 452 |
|
| 453 |
[[example]] |
| 454 |
name = "git-derive" |
| 455 |
path = "examples/git-derive.rs" |
| 456 |
doc-scrape-examples = true |
| 457 |
required-features = ["derive"] |
| 458 |
|
| 459 |
[[example]] |
| 460 |
name = "hostname" |
| 461 |
path = "examples/multicall-hostname.rs" |
| 462 |
doc-scrape-examples = true |
| 463 |
|
| 464 |
[[example]] |
| 465 |
name = "interop_augment_args" |
| 466 |
path = "examples/derive_ref/augment_args.rs" |
| 467 |
doc-scrape-examples = true |
| 468 |
required-features = ["derive"] |
| 469 |
|
| 470 |
[[example]] |
| 471 |
name = "interop_augment_subcommands" |
| 472 |
path = "examples/derive_ref/augment_subcommands.rs" |
| 473 |
doc-scrape-examples = true |
| 474 |
required-features = ["derive"] |
| 475 |
|
| 476 |
[[example]] |
| 477 |
name = "interop_flatten_hand_args" |
| 478 |
path = "examples/derive_ref/flatten_hand_args.rs" |
| 479 |
doc-scrape-examples = true |
| 480 |
required-features = ["derive"] |
| 481 |
|
| 482 |
[[example]] |
| 483 |
name = "interop_hand_subcommand" |
| 484 |
path = "examples/derive_ref/hand_subcommand.rs" |
| 485 |
doc-scrape-examples = true |
| 486 |
required-features = ["derive"] |
| 487 |
|
| 488 |
[[example]] |
| 489 |
name = "pacman" |
| 490 |
path = "examples/pacman.rs" |
| 491 |
test = true |
| 492 |
doc-scrape-examples = true |
| 493 |
|
| 494 |
[[example]] |
| 495 |
name = "repl" |
| 496 |
path = "examples/repl.rs" |
| 497 |
doc-scrape-examples = true |
| 498 |
required-features = ["help"] |
| 499 |
|
| 500 |
[[example]] |
| 501 |
name = "repl-derive" |
| 502 |
path = "examples/repl-derive.rs" |
| 503 |
doc-scrape-examples = true |
| 504 |
required-features = ["derive"] |
| 505 |
|
| 506 |
[[example]] |
| 507 |
name = "typed-derive" |
| 508 |
path = "examples/typed-derive/main.rs" |
| 509 |
doc-scrape-examples = true |
| 510 |
required-features = ["derive"] |
| 511 |
|
| 512 |
[dependencies.clap_builder] |
| 513 |
version = "=4.6.7" |
| 514 |
default-features = false |
| 515 |
|
| 516 |
[dependencies.clap_derive] |
| 517 |
version = "=4.6.7" |
| 518 |
optional = true |
| 519 |
|
| 520 |
[dev-dependencies.automod] |
| 521 |
version = "1.0.16" |
| 522 |
|
| 523 |
[dev-dependencies.clap-cargo] |
| 524 |
version = "0.15.2" |
| 525 |
default-features = false |
| 526 |
|
| 527 |
[dev-dependencies.jiff] |
| 528 |
version = "0.2.23" |
| 529 |
|
| 530 |
[dev-dependencies.rustversion] |
| 531 |
version = "1.0.22" |
| 532 |
|
| 533 |
[dev-dependencies.semver] |
| 534 |
version = "1.0.27" |
| 535 |
|
| 536 |
[dev-dependencies.shlex] |
| 537 |
version = "2.0.0" |
| 538 |
|
| 539 |
[dev-dependencies.snapbox] |
| 540 |
version = "1.2.0" |
| 541 |
features = ["term-svg"] |
| 542 |
|
| 543 |
[dev-dependencies.trybuild] |
| 544 |
version = "1.0.116" |
| 545 |
|
| 546 |
[dev-dependencies.trycmd] |
| 547 |
version = "1.2.0" |
| 548 |
features = [ |
| 549 |
"color-auto", |
| 550 |
"diff", |
| 551 |
"examples", |
| 552 |
] |
| 553 |
default-features = false |
| 554 |
|
| 555 |
[lints.clippy] |
| 556 |
assigning_clones = "allow" |
| 557 |
blocks_in_conditions = "allow" |
| 558 |
bool_assert_comparison = "allow" |
| 559 |
branches_sharing_code = "allow" |
| 560 |
byte_char_slices = "allow" |
| 561 |
checked_conversions = "warn" |
| 562 |
collapsible_else_if = "allow" |
| 563 |
collapsible_match = "allow" |
| 564 |
collection_is_never_read = "warn" |
| 565 |
create_dir = "warn" |
| 566 |
dbg_macro = "warn" |
| 567 |
debug_assert_with_mut_call = "warn" |
| 568 |
doc_markdown = "warn" |
| 569 |
empty_enums = "warn" |
| 570 |
enum_glob_use = "warn" |
| 571 |
expl_impl_clone_on_copy = "warn" |
| 572 |
explicit_deref_methods = "warn" |
| 573 |
explicit_into_iter_loop = "warn" |
| 574 |
fallible_impl_from = "warn" |
| 575 |
filter_map_next = "warn" |
| 576 |
flat_map_option = "warn" |
| 577 |
float_cmp = "warn" |
| 578 |
float_cmp_const = "warn" |
| 579 |
fn_params_excessive_bools = "warn" |
| 580 |
fn_to_numeric_cast_any = "warn" |
| 581 |
if_same_then_else = "allow" |
| 582 |
implicit_clone = "warn" |
| 583 |
imprecise_flops = "warn" |
| 584 |
inconsistent_struct_constructor = "warn" |
| 585 |
inefficient_to_string = "warn" |
| 586 |
infinite_loop = "warn" |
| 587 |
invalid_upcast_comparisons = "warn" |
| 588 |
large_digit_groups = "warn" |
| 589 |
large_stack_arrays = "warn" |
| 590 |
large_types_passed_by_value = "warn" |
| 591 |
let_and_return = "allow" |
| 592 |
linkedlist = "warn" |
| 593 |
lossy_float_literal = "warn" |
| 594 |
macro_use_imports = "warn" |
| 595 |
mem_forget = "warn" |
| 596 |
mismatching_type_param_order = "warn" |
| 597 |
multiple_bound_locations = "allow" |
| 598 |
mutex_integer = "warn" |
| 599 |
needless_continue = "allow" |
| 600 |
needless_for_each = "warn" |
| 601 |
negative_feature_names = "warn" |
| 602 |
partial_pub_fields = "warn" |
| 603 |
path_buf_push_overwrite = "warn" |
| 604 |
ptr_as_ptr = "warn" |
| 605 |
rc_mutex = "warn" |
| 606 |
redundant_feature_names = "warn" |
| 607 |
ref_option_ref = "warn" |
| 608 |
rest_pat_in_fully_bound_structs = "warn" |
| 609 |
result_large_err = "allow" |
| 610 |
same_functions_in_if_condition = "warn" |
| 611 |
self_named_module_files = "warn" |
| 612 |
semicolon_if_nothing_returned = "warn" |
| 613 |
str_to_string = "warn" |
| 614 |
string_add = "warn" |
| 615 |
string_add_assign = "warn" |
| 616 |
string_lit_as_bytes = "warn" |
| 617 |
todo = "warn" |
| 618 |
trait_duplication_in_bounds = "warn" |
| 619 |
uninlined_format_args = "warn" |
| 620 |
unnecessary_safety_comment = "warn" |
| 621 |
unnecessary_safety_doc = "warn" |
| 622 |
unseparated_literal_suffix = "warn" |
| 623 |
use_self = "warn" |
| 624 |
verbose_file_reads = "warn" |
| 625 |
zero_sized_map_values = "warn" |
| 626 |
|
| 627 |
[lints.rust] |
| 628 |
non_ascii_idents = "warn" |
| 629 |
trivial_numeric_casts = "warn" |
| 630 |
unreachable_pub = "warn" |
| 631 |
unsafe_op_in_unsafe_fn = "warn" |
| 632 |
unused_lifetimes = "warn" |
| 633 |
unused_macro_rules = "warn" |
| 634 |
unused_qualifications = "warn" |
| 635 |
|
| 636 |
[lints.rust.rust_2018_idioms] |
| 637 |
level = "warn" |
| 638 |
priority = -1 |
| 639 |
|
| 640 |
[profile.dev] |
| 641 |
panic = "abort" |
| 642 |
|
| 643 |
[profile.release] |
| 644 |
lto = true |
| 645 |
codegen-units = 1 |
| 646 |
debug = "line-tables-only" |
| 647 |
panic = "abort" |