aboutsummaryrefslogtreecommitdiffstats
path: root/components/malloc_size_of_derive
Commit message (Collapse)AuthorAgeFilesLines
* Put malloc_size_of_derive on crates.io, and add a reduced fork of ↵Bobby Holley2019-01-134-364/+0
| | | | | | malloc_size_of for WebRender. Differential Revision: https://phabricator.services.mozilla.com/D16353
* Update syn and related dependenciesBastien Orivel2018-11-302-6/+6
|
* Format remaining filesPyfisch2018-11-061-1/+2
|
* Rustfmt malloc_size_of & derivePyfisch2018-09-051-21/+38
|
* Update WebrenderBastien Orivel2018-04-252-10/+4
| | | | Fixes #20609
* Bump syn/quote in malloc_size_of_deriveBastien Orivel2018-02-122-40/+36
|
* Overhaul MallocSizeOf and related things.Nicholas Nethercote2017-09-124-0/+356
This patch makes the MallocSizeOf stuff in Stylo work more like the HeapSizeOf stuff already in Servo, except better. In particular, it adds deriving support for MallocSizeOf, which will make it easier to improve coverage. The patch does the following. - Combines servo/components/style/stylesheets/memory.rs and the heapsize crate into a new crate, malloc_size_of. - Forks the heapsize_derive crate, calling it malloc_size_of, so that MallocSizeOf can be derived. - Both the new crates have MIT/Apache licenses, like heapsize, in case they are incorporated into heapsize in the future. - Renames the methods within MallocSizeOf and the related traits so they are more concise. - Removes MallocSizeOfWithGuard. - Adds `derive(MallocSizeOf)` to a lot of types, in some cases replacing an equivalent or almost-equivalent hand-written implementation. - Adds stuff so that Rc/Arc can be handled properly.