Replace "codegen" with "derive"

This commit is contained in:
David Tolnay 2017-04-14 15:42:27 -07:00
parent 5b118fdef4
commit 6d55501dab
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
15 changed files with 8 additions and 8 deletions

View File

@ -1,8 +1,8 @@
[workspace]
members = [
"serde",
"serde_codegen_internals",
"serde_derive",
"serde_derive_internals",
"serde_test",
"test_suite",
"test_suite/no_std",

View File

@ -21,5 +21,5 @@ proc-macro = true
[dependencies]
quote = "0.3.8"
serde_codegen_internals = { version = "=0.14.2", default-features = false, path = "../serde_codegen_internals" }
serde_derive_internals = { version = "=0.14.2", default-features = false, path = "../serde_derive_internals" }
syn = { version = "0.11", features = ["visit"] }

View File

@ -1090,7 +1090,7 @@ fn deserialize_internally_tagged_variant(
Style::Newtype | Style::Struct => {
deserialize_untagged_variant(params, variant, item_attrs, deserializer)
}
Style::Tuple => unreachable!("checked in serde_codegen_internals"),
Style::Tuple => unreachable!("checked in serde_derive_internals"),
}
}

View File

@ -18,7 +18,7 @@ extern crate syn;
#[macro_use]
extern crate quote;
extern crate serde_codegen_internals as internals;
extern crate serde_derive_internals as internals;
extern crate proc_macro;
use proc_macro::TokenStream;

View File

@ -490,7 +490,7 @@ fn serialize_internally_tagged_variant(
&type_name,
)
}
Style::Tuple => unreachable!("checked in serde_codegen_internals"),
Style::Tuple => unreachable!("checked in serde_derive_internals"),
}
}

View File

@ -1,12 +1,12 @@
[package]
name = "serde_codegen_internals"
name = "serde_derive_internals"
version = "0.14.2"
authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>"]
license = "MIT/Apache-2.0"
description = "AST representation used by Serde codegen. Unstable."
description = "AST representation used by Serde derive macros. Unstable."
homepage = "https://serde.rs"
repository = "https://github.com/serde-rs/serde"
documentation = "https://docs.serde.rs/serde_codegen_internals/"
documentation = "https://docs.serde.rs/serde_derive_internals/"
keywords = ["serde", "serialization"]
readme = "README.md"
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]