Registry / utility / range-alloc

range-alloc

JSON →
library0.1.5rscratesunverified

Generic range allocator.

# Cargo.toml [dependencies] range-alloc = "0.1.5"
INSTALL
IMPORT
SIG · RANGE-ALLOC
R
range-alloc
utilityrustv0.1.5
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.

RangeAllocator
✓ use range_alloc::RangeAllocator;

Allocates a range of indices from a generic range allocator.

use range_alloc::RangeAllocator; fn main() { let mut alloc = RangeAllocator::new(0..100); let range = alloc.allocate(10).unwrap(); println!("Allocated range: {:?}", range); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
range-alloc — cargo add range-alloc · libregistry