mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
parent
9c6d9f612e
commit
8bd2e91cdc
20 changed files with 296 additions and 346 deletions
|
@ -10,6 +10,6 @@ path = "lib.rs"
|
|||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
quote = "0.4.2"
|
||||
syn = { version = "0.12.12", features = ["full"] }
|
||||
synstructure = "0.7"
|
||||
quote = "0.5.1"
|
||||
syn = { version = "0.13.1", features = ["full"] }
|
||||
synstructure = "0.8"
|
||||
|
|
|
@ -10,16 +10,10 @@
|
|||
|
||||
//! A crate for deriving the MallocSizeOf trait.
|
||||
|
||||
#[macro_use] extern crate quote;
|
||||
extern crate quote;
|
||||
#[macro_use] extern crate syn;
|
||||
|
||||
#[cfg(not(test))]
|
||||
#[macro_use] extern crate synstructure;
|
||||
|
||||
#[cfg(test)]
|
||||
extern crate synstructure;
|
||||
|
||||
|
||||
#[cfg(not(test))]
|
||||
decl_derive!([MallocSizeOf, attributes(ignore_malloc_size_of)] => malloc_size_of_derive);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue