Registry / utility / dunce
library1.0.5rscratesunverified

Normalize Windows paths to the most compatible format, avoiding UNC paths where possible.

# Cargo.toml [dependencies] dunce = "1.0.5"
INSTALL
IMPORT
SIG · DUNCE
D
dunce
utilityrustv1.0.5
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.

simplified
use dunce::simplified;

Converts a Windows path to a more compatible format, avoiding UNC prefixes.

use dunce::simplified; use std::path::Path; fn main() { let path = Path::new(r"\\?\C:\Users"); let normalized = simplified(path); println!("{:?}", normalized); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
dunce — cargo add dunce · libregistry