daktylos 0.1.0

a simple memory-counting allocator
Documentation

daktylos - a simple memory usage counting allocator

This crate gets the excellent custom wrapper example that keeps track of memory usage.

Usage

use daktylos::Allocator;

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

fn main() {
    println!("{}", A.current_usage());
}