[[bench]]
harness = false
name = "parse_addons"
path = "benches/parse_addons.rs"
[[bench]]
harness = false
name = "parse_scenarios"
path = "benches/parse_scenarios.rs"
[dependencies]
[dev-dependencies.clap]
features = ["std", "help"]
version = "4"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.lexopt]
version = "0.3"
[dev-dependencies.pico-args]
version = "0.5"
[[example]]
name = "01_minimal"
path = "examples/01_minimal.rs"
[[example]]
name = "02_flags_values"
path = "examples/02_flags_values.rs"
[[example]]
name = "03_optional_numbers"
path = "examples/03_optional_numbers.rs"
[[example]]
name = "04_groups"
path = "examples/04_groups.rs"
[[example]]
name = "05_subcommands"
path = "examples/05_subcommands.rs"
[[example]]
name = "06_env_defaults_and_help"
path = "examples/06_env_defaults_and_help.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[lib]
name = "rust_args_parser"
path = "src/lib.rs"
[lints.clippy]
cargo = "warn"
complexity = "warn"
correctness = "warn"
nursery = "warn"
pedantic = "warn"
performance = "warn"
redundant_pub_crate = "warn"
style = "warn"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-interface"]
description = "Tiny, fast, callback-based CLI argument parser for Rust"
documentation = "https://docs.rs/rust-args-parser"
edition = "2021"
homepage = "https://github.com/milchinskiy/rust-args-parser"
keywords = ["cli", "command-line", "args", "parser"]
license = "MIT OR Apache-2.0"
name = "rust-args-parser"
readme = "README.md"
repository = "https://github.com/milchinskiy/rust-args-parser"
rust-version = "1.60"
version = "0.1.1"
[[test]]
name = "auto_flags"
path = "tests/auto_flags.rs"
[[test]]
name = "commands"
path = "tests/commands.rs"
[[test]]
name = "general"
path = "tests/general.rs"
[[test]]
name = "options"
path = "tests/options.rs"
[[test]]
name = "positionals"
path = "tests/positionals.rs"