onlyargs_derive

Crates.ioonlyargs_derive
lib.rsonlyargs_derive
version0.2.0
sourcesrc
created_at2023-04-10 23:56:49.186248
updated_at2024-02-22 17:05:07.379052
descriptionObsessively tiny argument parsing derive macro
homepage
repositoryhttps://github.com/parasyte/onlyargs
max_upload_size
id835578
size37,530
Jay Oster (parasyte)

documentation

README

Crates.io Documentation unsafe forbidden GitHub actions GitHub activity GitHub Sponsors

Only argument parsing! Nothing more.

Why?

  • 100% safe Rust 🦀.
  • Correctness: Paths with invalid UTF-8 work correctly on all platforms.
  • Fast compile times.
  • Convenience: #[derive(OnlyArgs)] on a struct and parse CLI arguments from the environment into it with minimal boilerplate.

MSRV Policy

The Minimum Supported Rust Version for onlyargs will always be made available in the MSRV.md file on GitHub.

Examples

See the derive-example for usage.

Commit count: 32

cargo fmt