move field_type to common part
This commit is contained in:
parent
61f9badbe7
commit
1c867a6ff1
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
use attribute::*;
|
use attribute::*;
|
||||||
use de::field_type::*;
|
use field_type::*;
|
||||||
use quote::Tokens;
|
use quote::Tokens;
|
||||||
use syn::Ident;
|
use syn::Ident;
|
||||||
use syn::DataStruct;
|
use syn::DataStruct;
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
pub mod expand_struct;
|
pub mod expand_struct;
|
||||||
pub mod field_type;
|
|
||||||
|
|
||||||
use attribute;
|
use attribute;
|
||||||
use proc_macro2::Span;
|
use proc_macro2::Span;
|
||||||
|
|||||||
@ -7,6 +7,7 @@ extern crate quote;
|
|||||||
extern crate syn;
|
extern crate syn;
|
||||||
|
|
||||||
mod attribute;
|
mod attribute;
|
||||||
|
mod field_type;
|
||||||
mod de;
|
mod de;
|
||||||
mod ser;
|
mod ser;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
use attribute::*;
|
use attribute::*;
|
||||||
use de::field_type::*;
|
use field_type::*;
|
||||||
use quote::Tokens;
|
use quote::Tokens;
|
||||||
use syn::Ident;
|
use syn::Ident;
|
||||||
use syn::DataStruct;
|
use syn::DataStruct;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user