daktylos 0.1.0

a simple memory-counting allocator
Documentation
1
2
3
4
5
6
7
8
use daktylos::CountingAllocator;

#[global_allocator]
static A: CountingAllocator = CountingAllocator::new();

fn main() {
    println!("allocated bytes before main: {}", A.current_usage());
}