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]
bitflags = "0.7"
heapsize = "0.3.0"
heapsize_plugin = "0.1.2"
heapsize_derive = "0.1"
hyper = "0.9.9"
hyper_serde = "0.1.4"
ipc-channel = "0.5"

View file

@ -12,19 +12,18 @@
#![allow(non_snake_case)]
#![deny(unsafe_code)]
#![feature(custom_derive, plugin, proc_macro, rustc_attrs, structural_match)]
#![plugin(heapsize_plugin)]
#![feature(proc_macro, rustc_attrs, structural_match)]
#[allow(unused_extern_crates)]
#[macro_use]
extern crate bitflags;
extern crate heapsize;
#[macro_use] extern crate heapsize_derive;
extern crate hyper;
extern crate ipc_channel;
extern crate msg;
extern crate serde;
#[macro_use]
extern crate serde_derive;
#[macro_use] extern crate serde_derive;
extern crate time;
extern crate url;