Make #[derive(JSTraceable)] a procedural macro

This commit is contained in:
Anthony Ramine 2016-11-02 22:43:37 +01:00
parent b0cac458b6
commit 391296278d
9 changed files with 98 additions and 68 deletions

View file

@ -0,0 +1,15 @@
[package]
name = "jstraceable_derive"
version = "0.0.1"
authors = ["The Servo Project Developers"]
license = "MPL-2.0"
publish = false
[lib]
path = "lib.rs"
proc-macro = true
[dependencies]
syn = "0.9"
quote = "0.3"
synstructure = "0.2"