Registry / utility / escape-string

escape-string

JSON →
library0.1.2rscratesunverified

Efficiently parse backslash-escaped strings

# Cargo.toml [dependencies] escape_string = "0.1.2"
INSTALL
IMPORT
SIG · ESCAPE-STRING
E
escape-string
utilityrustv0.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.

unescape
use escape_string::unescape;

Parse a backslash-escaped string into its unescaped form

use escape_string::unescape; let result = unescape(r"hello\nworld").unwrap(); assert_eq!(result, "hello\nworld");
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
escape-string — cargo add escape-string · libregistry