Use heapsize_derive instead of heapsize_plugin

This commit is contained in:
Simon Sapin 2016-11-02 18:46:15 +01:00 committed by Anthony Ramine
parent b640a83725
commit 5bb4c6c884
34 changed files with 152 additions and 90 deletions

View file

@ -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"

View file

@ -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;