1 unstable release
0.1.0 | Feb 18, 2021 |
---|
#3 in #dependency-free
Used in parkour
30KB
533 lines
palex
A fast, small, dependency-free crate for lexing command-line arguments. You can use this crate if you want to build your own argument parsing library.
This crate is almost zero-cost, since it parses arguments lazily and avoids most heap allocations. There's no dynamic dispatch.
Usage
Palex isn't published on crates.io yet, but it will be soon!
License
This project is licensed under either of
- Apache License, Version 2.0, ([LICENSE-APACHE] or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT] or https://opensource.org/licenses/MIT)
at your option.
lib.rs
:
A fast, small, dependency-free crate for lexing command-line arguments. You can use this crate if you want to build your own argument parsing library.
This crate is almost zero-cost, since it parses arguments lazily and avoids most heap allocations. There's no dynamic dispatch.
Check the examples
folder for examples.