Registry / utility / string-cache

string-cache

JSON →
library0.9.0rscratesunverified

A string interning library for Rust, developed as part of the Servo project.

# Cargo.toml [dependencies] string_cache = "0.9.0"
INSTALL
IMPORT
SIG · STRING-CACHE
S
string-cache
utilityrustv0.9.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.

DefaultAtom
use string_cache::DefaultAtom;

Create and use an interned string atom

use string_cache::DefaultAtom; fn main() { let atom = DefaultAtom::from("hello"); println!("Atom: {}", atom); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources