daktylos 0.1.0

a simple memory-counting allocator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# daktylos - a simple memory usage counting allocator

This crate gets the excellent [custom wrapper example](https://doc.rust-lang.org/std/alloc/struct.System.html) that keeps track of memory usage.

## Usage

```
use daktylos::Allocator;

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

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