[package]
edition = "2024"
rust-version = "1.88"
name = "getargs-derive"
version = "0.1.0"
authors = ["Alix ANNERAUD <alix@anneraud.fr>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Clap-style #[derive] command-line argument parser for no_std and embedded Rust: zero allocation, compile-time help, subcommands. Built on getargs."
homepage = "https://github.com/AlixANNERAUD/getargs-derive"
documentation = "https://docs.rs/getargs-derive"
readme = "README.md"
keywords = [
"cli",
"argument-parser",
"no-std",
"derive",
"embedded",
]
categories = [
"command-line-interface",
"no-std",
"no-std::no-alloc",
"embedded",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/AlixANNERAUD/getargs-derive"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alloc = []
heapless = ["dep:heapless"]
std = [
"alloc",
"getargs-derive-macros/std",
]
[lib]
name = "getargs_derive"
path = "src/lib.rs"
[[test]]
name = "actions"
path = "tests/actions.rs"
[[test]]
name = "aliases"
path = "tests/aliases.rs"
[[test]]
name = "collections"
path = "tests/collections.rs"
[[test]]
name = "command"
path = "tests/command.rs"
[[test]]
name = "completions"
path = "tests/completions.rs"
[[test]]
name = "defaults"
path = "tests/defaults.rs"
[[test]]
name = "env"
path = "tests/env.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[[test]]
name = "flags"
path = "tests/flags.rs"
[[test]]
name = "flatten"
path = "tests/flatten.rs"
[[test]]
name = "from_args"
path = "tests/from_args.rs"
[[test]]
name = "help"
path = "tests/help.rs"
[[test]]
name = "help_customization"
path = "tests/help_customization.rs"
[[test]]
name = "non_utf8"
path = "tests/non_utf8.rs"
[[test]]
name = "option_fields"
path = "tests/option_fields.rs"
[[test]]
name = "options"
path = "tests/options.rs"
[[test]]
name = "parsing"
path = "tests/parsing.rs"
[[test]]
name = "positionals"
path = "tests/positionals.rs"
[[test]]
name = "relations"
path = "tests/relations.rs"
[[test]]
name = "subcommands"
path = "tests/subcommands.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[[test]]
name = "validation"
path = "tests/validation.rs"
[[test]]
name = "value_enum"
path = "tests/value_enum.rs"
[[test]]
name = "version"
path = "tests/version.rs"
[dependencies.getargs]
version = "0.5"
default-features = false
[dependencies.getargs-derive-macros]
version = "=0.1.0"
[dependencies.heapless]
version = "0.9"
optional = true
default-features = false
[dev-dependencies.getargs]
version = "0.5"
[dev-dependencies.trybuild]
version = "1"