Put malloc_size_of_derive on crates.io, and add a reduced fork of malloc_size_of for WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D16353
This commit is contained in:
Bobby Holley 2019-01-12 19:21:56 +00:00 committed by Emilio Cobos Álvarez
parent 5bf0eea1f8
commit f2d6e07aa0
7 changed files with 5 additions and 366 deletions

View file

@ -42,6 +42,9 @@
//! fields in structs, because it makes it clear that the Box is being
//! measured as well as the thing it points to. E.g.
//! `<Box<_> as MallocSizeOf>::size_of(field, ops)`.
//!
//! Note: WebRender has a reduced for of this crate, so that we can avoid
//! publishing this crate on crates.io.
extern crate app_units;
#[cfg(feature = "servo")]