Registry / utility / internment

internment

JSON →
library0.8.6rscratesunverified

Easy interning of data

# Cargo.toml [dependencies] internment = "0.8.6"
INSTALL
IMPORT
SIG · INTERNMENT
I
internment
utilityrustv0.8.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.

Intern
use internment::Intern;

Intern a string for efficient comparison

use internment::Intern; fn main() { let a = Intern::new("hello"); let b = Intern::new("hello"); assert_eq!(a, b); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
internment — cargo add internment · libregistry