Registry / utility / boa-interner

boa-interner

JSON →
library0.21.1rscratesunverified

String interner for the Boa JavaScript engine.

# Cargo.toml [dependencies] boa_interner = "0.21.1"
INSTALL
IMPORT
SIG · BOA-INTERNER
B
boa-interner
utilityrustv0.21.1
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.

Interner
use boa_interner::Interner;

Interns a string and returns a symbol.

use boa_interner::Interner; fn main() { let mut interner = Interner::new(); let sym = interner.get_or_intern("hello"); println!("Interned symbol: {:?}", sym); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.21.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Meta
1
Resources
boa-interner — cargo add boa-interner · libregistry