8 releases
Uses old Rust 2015
0.1.6 | Sep 6, 2016 |
---|---|
0.1.5 | May 17, 2016 |
0.1.4 | Feb 26, 2016 |
0.1.2 | Dec 22, 2015 |
0.0.1 | Aug 11, 2015 |
#11 in #measuring
127 downloads per month
5KB
80 lines
heapsize
In support of measuring heap allocations in Rust programs.
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.
lib.rs
:
Attributes this crate provides:
#[derive(HeapSizeOf)]
: Auto-derives an implementation ofHeapSizeOf
for a struct or enum.