Registry / utility / shellexpand

shellexpand

JSON →
library3.1.2rscratesunverified

A library for performing shell-like expansions in strings, such as tilde and environment variable expansion.

# Cargo.toml [dependencies] shellexpand = "3.1.2"
INSTALL
IMPORT
SIG · SHELLEXPAND
S
shellexpand
utilityrustv3.1.2
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.

tilde
use shellexpand::tilde;

Expand a tilde (`~`) to the user's home directory.

use shellexpand::tilde; let expanded = tilde("~/documents/file.txt"); println!("{}", expanded);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
shellexpand — cargo add shellexpand · libregistry