Move derive internals into serde_derive crate

We can continue to publish serde_derive_internals independently but
serde_derive no longer has a dependency on it. This improves compile
time of serde_derive by 7%.
This commit is contained in:
David Tolnay
2018-05-05 23:06:16 -07:00
parent ed425b3a6f
commit 3859f58d9b
11 changed files with 35 additions and 19 deletions
+2 -2
View File
@@ -35,11 +35,11 @@ extern crate quote;
#[macro_use]
extern crate syn;
extern crate serde_derive_internals as internals;
extern crate proc_macro;
extern crate proc_macro2;
mod internals;
use proc_macro::TokenStream;
use syn::DeriveInput;