mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Use heapsize_derive instead of heapsize_plugin
This commit is contained in:
parent
b640a83725
commit
5bb4c6c884
34 changed files with 152 additions and 90 deletions
|
@ -12,7 +12,7 @@ path = "lib.rs"
|
|||
|
||||
[dependencies]
|
||||
heapsize = "0.3.0"
|
||||
heapsize_plugin = "0.1.2"
|
||||
heapsize_derive = "0.1"
|
||||
num-traits = "0.1.32"
|
||||
rustc-serialize = "0.3"
|
||||
serde = "0.8"
|
||||
|
|
|
@ -2,17 +2,14 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![feature(custom_derive)]
|
||||
#![feature(plugin)]
|
||||
#![feature(proc_macro)]
|
||||
#![feature(rustc_attrs)]
|
||||
#![feature(step_trait)]
|
||||
|
||||
#![plugin(heapsize_plugin)]
|
||||
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
extern crate heapsize;
|
||||
#[macro_use] extern crate heapsize_derive;
|
||||
extern crate num_traits;
|
||||
extern crate rustc_serialize;
|
||||
extern crate serde;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue