[package]
edition = "2021"
name = "nanoargs"
version = "0.1.0"
authors = ["Anthony Sgro"]
build = false
exclude = ["tests/*.proptest-regressions"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A minimal, zero-dependency argument parser for Rust CLI applications"
readme = "README.md"
license = "MIT"
repository = "https://github.com/anthonysgro/nanoargs"
[features]
color = ["dep:nanocolor"]
[lib]
name = "nanoargs"
path = "src/lib.rs"
[[example]]
name = "env_fallback"
path = "examples/env_fallback.rs"
[[example]]
name = "error_handling"
path = "examples/error_handling.rs"
[[example]]
name = "flags"
path = "examples/flags.rs"
[[example]]
name = "full_demo"
path = "examples/full_demo.rs"
[[example]]
name = "help_text"
path = "examples/help_text.rs"
[[example]]
name = "options"
path = "examples/options.rs"
[[example]]
name = "positionals"
path = "examples/positionals.rs"
[[example]]
name = "short_flags"
path = "examples/short_flags.rs"
[[example]]
name = "subcommands"
path = "examples/subcommands.rs"
[[example]]
name = "version_flag"
path = "examples/version_flag.rs"
[[test]]
name = "prop_alignment"
path = "tests/prop_alignment.rs"
[[test]]
name = "prop_api_inversion"
path = "tests/prop_api_inversion.rs"
[[test]]
name = "prop_bugfix"
path = "tests/prop_bugfix.rs"
[[test]]
name = "prop_colored_help"
path = "tests/prop_colored_help.rs"
[[test]]
name = "prop_core"
path = "tests/prop_core.rs"
[[test]]
name = "prop_env_var"
path = "tests/prop_env_var.rs"
[[test]]
name = "prop_flag_builder"
path = "tests/prop_flag_builder.rs"
[[test]]
name = "prop_multi_value"
path = "tests/prop_multi_value.rs"
[[test]]
name = "prop_named_builder"
path = "tests/prop_named_builder.rs"
[[test]]
name = "prop_option_builder"
path = "tests/prop_option_builder.rs"
[[test]]
name = "prop_short_flags"
path = "tests/prop_short_flags.rs"
[[test]]
name = "prop_subcommands"
path = "tests/prop_subcommands.rs"
[[test]]
name = "prop_typed_helpers"
path = "tests/prop_typed_helpers.rs"
[[test]]
name = "prop_version"
path = "tests/prop_version.rs"
[dependencies.nanocolor]
version = "0.1"
optional = true
[dev-dependencies.proptest]
version = "1"