Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move malloc_size_of_derive back into the Servo repo #24432

Closed
Closed
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Move malloc_size_of_derive back into the Servo repo

The 'MallocSizeOf' trait is not available on crates.io, so the derive shouldn't be either.  Move this derive back into the Servo repository.

See issue #24419.
  • Loading branch information
twilco committed Oct 12, 2019
commit 634e6d23081cea5dd0f8cf5cde8899c66a447388

Some generated files are not rendered by default. Learn more.

@@ -19,7 +19,7 @@ euclid = "0.20"
ipc-channel = "0.12"
lazy_static = "1"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
malloc_size_of_derive = { path = "../malloc_size_of_derive" }
pixels = {path = "../pixels"}
serde = "1.0"
serde_bytes = "0.10"
@@ -15,7 +15,7 @@ bitflags = "1.0"
http = "0.1"
ipc-channel = "0.12"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
malloc_size_of_derive = { path = "../malloc_size_of_derive" }
msg = {path = "../msg"}
serde = "1.0"
servo_url = {path = "../url"}
@@ -14,5 +14,5 @@ path = "lib.rs"
app_units = "0.7"
euclid = "0.20"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
malloc_size_of_derive = { path = "../malloc_size_of_derive" }
webrender_api = { git = "https://github.com/servo/webrender" }
@@ -12,6 +12,6 @@ path = "lib.rs"

[dependencies]
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
malloc_size_of_derive = { path = "../malloc_size_of_derive" }
range = {path = "../range"}
serde = "1.0"
@@ -0,0 +1,16 @@
[package]
name = "malloc_size_of_derive"
version = "0.1.0"
authors = ["The Servo Project Developers"]
license = "MIT/Apache-2.0"
description = "Crate for Firefox memory reporting, not intended for external use"
publish = false

[lib]
path = "lib.rs"
proc-macro = true

[dependencies]
proc-macro2 = "0.4"
syn = { version = "0.15", features = ["full"] }
synstructure = "0.10"
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.