Skip to content

Commit

Permalink
Put malloc_size_of_derive on crates.io, and add a reduced fork of mal…
Browse files Browse the repository at this point in the history
…loc_size_of for WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D16353
  • Loading branch information
bholley authored and emilio committed Jan 13, 2019
1 parent 5bf0eea commit f2d6e07
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 366 deletions.
3 changes: 3 additions & 0 deletions components/malloc_size_of/lib.rs
Expand Up @@ -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")]
Expand Down
15 changes: 0 additions & 15 deletions components/malloc_size_of_derive/Cargo.toml

This file was deleted.

201 changes: 0 additions & 201 deletions components/malloc_size_of_derive/LICENSE-APACHE

This file was deleted.

23 changes: 0 additions & 23 deletions components/malloc_size_of_derive/LICENSE-MIT

This file was deleted.

125 changes: 0 additions & 125 deletions components/malloc_size_of_derive/lib.rs

This file was deleted.

2 changes: 1 addition & 1 deletion components/style/Cargo.toml
Expand Up @@ -44,7 +44,7 @@ itoa = "0.4"
lazy_static = "1"
log = "0.4"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = { path = "../malloc_size_of_derive" }
malloc_size_of_derive = "0.1"
matches = "0.1"
num_cpus = {version = "1.1.0"}
num-integer = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion components/style_traits/Cargo.toml
Expand Up @@ -19,7 +19,7 @@ cssparser = "0.25"
bitflags = "1.0"
euclid = "0.19"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = { path = "../malloc_size_of_derive" }
malloc_size_of_derive = "0.1"
selectors = { path = "../selectors" }
serde = {version = "1.0", optional = true}
webrender_api = {git = "https://github.com/servo/webrender", optional = true}
Expand Down

0 comments on commit f2d6e07

Please sign in to comment.