Registry / utility / alloc-no-stdlib

alloc-no-stdlib

JSON →
library3.0.0rscratesunverified

A dynamic allocator that may be used with or without the stdlib, allowing nostd packages to allocate memory dynamically.

# Cargo.toml [dependencies] alloc-no-stdlib = "3.0.0"
INSTALL
IMPORT
SIG · ALLOC-NO-STDLIB
A
alloc-no-stdlib
utilityrustv3.0.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.

Allocator
use alloc_no_stdlib::Allocator;

Allocate and free memory using the Allocator.

use alloc_no_stdlib::Allocator; fn main() { let mut alloc = Allocator::new(); let ptr = alloc.alloc(100).unwrap(); // use ptr alloc.free(ptr); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources
alloc-no-stdlib — cargo add alloc-no-stdlib · libregistry