#size #heap #stack #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

#152 in #heap


Used in 2 crates

MIT license

9KB
142 lines

Deepsize MM0 fork

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


lib.rs:

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

Dependencies

~1.5MB
~35K SLoC