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.