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

10
ports/cef/Cargo.lock generated
View file

@ -1025,6 +1025,15 @@ dependencies = [
"num-traits 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "jstraceable_derive"
version = "0.0.1"
dependencies = [
"quote 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"synstructure 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "kernel32-sys"
version = "0.2.2"
@ -1821,6 +1830,7 @@ dependencies = [
"image 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)",
"ipc-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"js 0.1.3 (git+https://github.com/servo/rust-mozjs)",
"jstraceable_derive 0.0.1",
"libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
"mime 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",