mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-24 22:47:58 +00:00
Rename serde_internals to serde_codegen_internals
This commit is contained in:
@@ -18,7 +18,7 @@ with-syntex = [
|
||||
"quasi/with-syntex",
|
||||
"quasi_codegen",
|
||||
"quasi_codegen/with-syntex",
|
||||
"serde_internals/with-syntex",
|
||||
"serde_codegen_internals/with-syntex",
|
||||
"syntex",
|
||||
"syntex_syntax",
|
||||
]
|
||||
@@ -32,6 +32,6 @@ aster = { version = "^0.19.0", default-features = false }
|
||||
clippy = { version = "^0.*", optional = true }
|
||||
quasi = { version = "^0.13.0", default-features = false }
|
||||
quasi_macros = { version = "^0.13.0", optional = true }
|
||||
serde_internals = { version = "^0.1.0", path = "../serde_internals", default-features = false }
|
||||
serde_codegen_internals = { version = "^0.1.0", path = "../serde_codegen_internals", default-features = false }
|
||||
syntex = { version = "^0.36.0", optional = true }
|
||||
syntex_syntax = { version = "^0.36.0", optional = true }
|
||||
|
||||
@@ -6,7 +6,8 @@ use syntax::ast;
|
||||
use syntax::ptr::P;
|
||||
use syntax::visit;
|
||||
|
||||
use internals::{attr, Item};
|
||||
use internals::ast::Item;
|
||||
use internals::attr;
|
||||
|
||||
// Remove the default from every type parameter because in the generated impls
|
||||
// they look like associated types: "error: associated type bindings are not
|
||||
|
||||
@@ -7,7 +7,8 @@ use syntax::parse::token::InternedString;
|
||||
use syntax::ptr::P;
|
||||
|
||||
use bound;
|
||||
use internals::{attr, Body, Error, Field, Item, Style, Variant};
|
||||
use internals::ast::{Body, Field, Item, Style, Variant};
|
||||
use internals::{attr, Error};
|
||||
|
||||
pub fn expand_derive_deserialize(
|
||||
cx: &mut ExtCtxt,
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
extern crate aster;
|
||||
extern crate quasi;
|
||||
extern crate serde_internals as internals;
|
||||
extern crate serde_codegen_internals as internals;
|
||||
|
||||
#[cfg(feature = "with-syntex")]
|
||||
extern crate syntex;
|
||||
|
||||
@@ -6,7 +6,8 @@ use syntax::ext::base::{Annotatable, ExtCtxt};
|
||||
use syntax::ptr::P;
|
||||
|
||||
use bound;
|
||||
use internals::{attr, Body, Error, Field, Item, Style, Variant};
|
||||
use internals::ast::{Body, Field, Item, Style, Variant};
|
||||
use internals::{attr, Error};
|
||||
|
||||
pub fn expand_derive_serialize(
|
||||
cx: &mut ExtCtxt,
|
||||
|
||||
Reference in New Issue
Block a user