cmdline_words_parser 0.0.2

Provides iterators over 'words' in a string, using command-line escaping rules. Intended for use where extra heap allocations are undesirable

Crate cmdline_words_parser [] [src]

This crate provides a allocation-less way of parsing shell-escaped strings (which are escaped to be longer than the source)

The trait StrExt provides a method parse_cmdline_words that returns an iterator of shell-escaped arguments/"words".

Structs

PosixShellWords

Iterator yeilding unescaped strings in the standard POSIX shell format

Traits

StrExt

Extension trait providing mutable command-line parsing on strings

StrExtOut

Trait used to parameterise output types for StrExt