4 releases (2 breaking)
Uses old Rust 2015
0.2.1 | Apr 19, 2020 |
---|---|
0.2.0 | Mar 28, 2020 |
0.1.0 | Oct 14, 2018 |
0.0.2 | Mar 30, 2016 |
#2621 in Parser implementations
596 downloads per month
Used in 10 crates
(4 directly)
14KB
322 lines
A rust crate to do inline parsing of literal command line strings (handling escape codes and splitting at whitespace)
Performs the parsing in the source string, to avoid intermediate allocations (suitable for memory-constrained environments).
lib.rs
:
This crate provides a allocation-less way of parsing escaped strings (as the escaped form is longer than the original).
- [parse_posix] Parses strings using unix shell escaping rules (see [PosixShellWords] for exact rules)
Note: This crate has no way of handling variable substitions.