#size #stack #heap #macro

macro mm0_deepsize_derive

A crate for measuring the total size of object on the stack and heap

2 releases

0.1.2 Jun 18, 2021
0.1.1 Apr 22, 2021

#45 in #size

47 downloads per month
Used in 2 crates

MIT license

142 lines

Deepsize MM0 fork

This is a fork of the deepsize crate for use with mm0-rs and supporting crates.


A basic DeepSizeOf Derive implementation

Mainly from syn's heap_size derive example: https://github.com/dtolnay/syn/commits/master/examples/heapsize/heapsize_derive/src/lib.rs


~30K SLoC