Registry / utility / shlex
library2.0.1rscratesunverified

Split a string into shell words, like Python's shlex module.

# Cargo.toml [dependencies] shlex = "2.0.1"
INSTALL
IMPORT
SIG · SHLEX
S
shlex
utilityrustv2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

split
use shlex::split;

Parse a shell command string into individual arguments.

use shlex::split; let words = split("echo 'hello world'").unwrap(); println!("{:?}", words);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
shlex — cargo add shlex · libregistry