Registry / utility / slab
library0.4.12rscratesunverified

Pre-allocated storage for a uniform data type.

# Cargo.toml [dependencies] slab = "0.4.12"
INSTALL
IMPORT
SIG · SLAB
S
slab
utilityrustv0.4.12
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.

Slab
✓ use slab::Slab;

Inserts a value into a slab and retrieves it by key.

use slab::Slab; let mut slab = Slab::new(); let key = slab.insert("hello"); assert_eq!(slab[key], "hello");
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.12latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
slab — cargo add slab · libregistry