diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2016-11-02 18:46:15 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-11-03 01:10:32 +0100 |
commit | 5bb4c6c8846e71c7553cb625464b06ca0fedba08 (patch) | |
tree | c1dd794a9c246d668ccefc4320b6d1871c004231 /components/gfx_traits | |
parent | b640a83725a2b2a6c93be44107e49f4e99e7d59f (diff) | |
download | servo-5bb4c6c8846e71c7553cb625464b06ca0fedba08.tar.gz servo-5bb4c6c8846e71c7553cb625464b06ca0fedba08.zip |
Use heapsize_derive instead of heapsize_plugin
Diffstat (limited to 'components/gfx_traits')
-rw-r--r-- | components/gfx_traits/Cargo.toml | 2 | ||||
-rw-r--r-- | components/gfx_traits/lib.rs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/components/gfx_traits/Cargo.toml b/components/gfx_traits/Cargo.toml index 83a3845d7fc..7c51778fa81 100644 --- a/components/gfx_traits/Cargo.toml +++ b/components/gfx_traits/Cargo.toml @@ -12,7 +12,7 @@ path = "lib.rs" [dependencies] azure = {git = "https://github.com/servo/rust-azure", features = ["plugins"]} heapsize = "0.3.0" -heapsize_plugin = "0.1.2" +heapsize_derive = "0.1" plugins = {path = "../plugins"} range = {path = "../range"} rustc-serialize = "0.3" diff --git a/components/gfx_traits/lib.rs b/components/gfx_traits/lib.rs index a198a436dfb..31684954958 100644 --- a/components/gfx_traits/lib.rs +++ b/components/gfx_traits/lib.rs @@ -3,7 +3,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #![feature(custom_derive, plugin, proc_macro, rustc_attrs, structural_match)] -#![plugin(heapsize_plugin, plugins)] +#![plugin(plugins)] #![crate_name = "gfx_traits"] #![crate_type = "rlib"] @@ -12,6 +12,7 @@ extern crate azure; extern crate heapsize; +#[macro_use] extern crate heapsize_derive; #[macro_use] extern crate range; extern crate rustc_serialize; |