Registry / utility / slash-formatter

slash-formatter

JSON →
library3.1.6rscratesunverified

Provides functions to deal with slashes and backslashes in strings.

# Cargo.toml [dependencies] slash-formatter = "3.1.6"
INSTALL
IMPORT
SIG · SLASH-FORMATTER
S
slash-formatter
utilityrustv3.1.6
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.

normalize_slashes
use slash_formatter::normalize_slashes;

Normalize slashes and backslashes in a path string.

use slash_formatter::normalize_slashes; fn main() { let result = normalize_slashes("path/to\\file"); println!("Normalized: {}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.1.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
slash-formatter — cargo add slash-formatter · libregistry