aboutsummaryrefslogtreecommitdiffstats
path: root/components/jstraceable_derive
diff options
context:
space:
mode:
Diffstat (limited to 'components/jstraceable_derive')
-rw-r--r--components/jstraceable_derive/lib.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/components/jstraceable_derive/lib.rs b/components/jstraceable_derive/lib.rs
index 2e90f967970..6fb41604901 100644
--- a/components/jstraceable_derive/lib.rs
+++ b/components/jstraceable_derive/lib.rs
@@ -2,10 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
-#[macro_use]
-extern crate syn;
-#[macro_use]
-extern crate synstructure;
+use syn::parse_quote;
+use synstructure::decl_derive;
+use synstructure::quote;
decl_derive!([JSTraceable, attributes(no_trace, custom_trace)] =>
/// Implements `JSTraceable` on structs and enums