[](https://crates.io/crates/onlyargs_derive "Crates.io version")
[](https://docs.rs/onlyargs_derive "Documentation")
[](https://github.com/rust-secure-code/safety-dance/)
[](https://github.com/parasyte/onlyargs/actions "CI")
[](https://github.com/parasyte/onlyargs/commits "Commit activity")
[](https://github.com/sponsors/parasyte "Sponsors")
Only argument parsing! Nothing more.
# Why?
- 100% safe Rust 🦀.
- Correctness: Paths with invalid UTF-8 work correctly on all platforms.
- Fast compile times.
- See [`myn` benchmark results](https://github.com/parasyte/myn/blob/main/benchmarks.md).
- 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](../MSRV.md) file on GitHub.
# Examples
See the [`derive-example`](../examples/full-derive/src/main.rs) for usage.