Registry / utility / allocator-api2

allocator-api2

JSON →
library0.4.0rscratesunverified

Mirror of Rust's allocator API for use in stable Rust.

# Cargo.toml [dependencies] allocator-api2 = "0.4.0"
INSTALL
IMPORT
SIG · ALLOCATOR-API2
A
allocator-api2
utilityrustv0.4.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.

Global
use allocator_api2::alloc::Global;

Import and use the Global allocator.

use allocator_api2::alloc::Global; fn main() { let _allocator = Global; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
24
OpenAI (training)
1
Resources
allocator-api2 — cargo add allocator-api2 · libregistry