Registry / utility / snmalloc-rs

snmalloc-rs

JSON →
library0.7.4rscratesunverified

Rust bindings for the snmalloc memory allocator.

# Cargo.toml [dependencies] snmalloc-rs = "0.7.4"
INSTALL
IMPORT
SIG · SNMALLOC-RS
S
snmalloc-rs
utilityrustv0.7.4
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.

SnMalloc
✓ use snmalloc_rs::SnMalloc;

Set snmalloc as the global allocator.

use snmalloc_rs::SnMalloc; #[global_allocator] static ALLOC: SnMalloc = SnMalloc; fn main() { let mut v = vec![1, 2, 3]; v.push(4); println!("{:?}", v); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
snmalloc-rs — cargo add snmalloc-rs · libregistry