#derive #servo #heap #heapsize

macro heapsize_derive

Automatically generating infrastructure for measuring the total runtime size of an object on the heap

5 releases

Uses old Rust 2015

0.1.4 Feb 27, 2017
0.1.3 Nov 20, 2016
0.1.2 Nov 3, 2016
0.1.1 Nov 2, 2016
0.1.0 Nov 2, 2016
Download history 55/week @ 2022-06-07 52/week @ 2022-06-14 63/week @ 2022-06-21 49/week @ 2022-06-28 60/week @ 2022-07-05 62/week @ 2022-07-12 54/week @ 2022-07-19 58/week @ 2022-07-26 67/week @ 2022-08-02 81/week @ 2022-08-09 59/week @ 2022-08-16 61/week @ 2022-08-23 56/week @ 2022-08-30 85/week @ 2022-09-06 62/week @ 2022-09-13 68/week @ 2022-09-20

277 downloads per month
Used in 4 crates (via html5ever-atoms)

MPL-2.0 license

5KB
113 lines

heapsize

In support of measuring heap allocations in Rust programs.

API Documentation

Status

This crate is not maintained and is no longer used by Servo. At the time of writing, Servo uses internal malloc_size_of instead.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1.5MB
~39K SLoC