Registry / utility / enquote

enquote

JSON →
library1.1.0rscratesunverified

Quotes and unquotes strings, handling escape sequences.

# Cargo.toml [dependencies] enquote = "1.1.0"
INSTALL
IMPORT
SIG · ENQUOTE
E
enquote
utilityrustv1.1.0
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.

enquote
use enquote::enquote;

Quotes a string with the specified quote character.

use enquote::enquote; fn main() { let quoted = enquote('"', "hello"); println!("{}", quoted); // "hello" }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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