From 0856a2c101ab895106a6a0ccbb4ac6947c4ae02e Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 10 Jun 2020 01:21:15 -0700 Subject: [PATCH] No need to specify Cargo.toml in package.include Cargo.toml is always included in the published crate. --- serde/Cargo.toml | 2 +- serde_derive/Cargo.toml | 2 +- serde_derive_internals/Cargo.toml | 2 +- serde_test/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/serde/Cargo.toml b/serde/Cargo.toml index 7caa18d9..532ed176 100644 --- a/serde/Cargo.toml +++ b/serde/Cargo.toml @@ -10,7 +10,7 @@ documentation = "https://docs.serde.rs/serde/" keywords = ["serde", "serialization", "no_std"] categories = ["encoding"] readme = "crates-io.md" -include = ["Cargo.toml", "build.rs", "src/**/*.rs", "crates-io.md", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] +include = ["build.rs", "src/**/*.rs", "crates-io.md", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] build = "build.rs" [dependencies] diff --git a/serde_derive/Cargo.toml b/serde_derive/Cargo.toml index b3e19775..9e73e2f1 100644 --- a/serde_derive/Cargo.toml +++ b/serde_derive/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/serde-rs/serde" documentation = "https://serde.rs/derive.html" keywords = ["serde", "serialization", "no_std"] readme = "crates-io.md" -include = ["Cargo.toml", "src/**/*.rs", "crates-io.md", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] +include = ["src/**/*.rs", "crates-io.md", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] [features] default = [] diff --git a/serde_derive_internals/Cargo.toml b/serde_derive_internals/Cargo.toml index 9b299d77..164f2751 100644 --- a/serde_derive_internals/Cargo.toml +++ b/serde_derive_internals/Cargo.toml @@ -8,7 +8,7 @@ homepage = "https://serde.rs" repository = "https://github.com/serde-rs/serde" documentation = "https://docs.rs/serde_derive_internals" keywords = ["serde", "serialization"] -include = ["Cargo.toml", "lib.rs", "src/**/*.rs", "LICENSE-APACHE", "LICENSE-MIT"] +include = ["lib.rs", "src/**/*.rs", "LICENSE-APACHE", "LICENSE-MIT"] [lib] path = "lib.rs" diff --git a/serde_test/Cargo.toml b/serde_test/Cargo.toml index 48425cd3..c4c2d185 100644 --- a/serde_test/Cargo.toml +++ b/serde_test/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/serde-rs/serde" documentation = "https://docs.serde.rs/serde_test/" keywords = ["serde", "serialization"] readme = "crates-io.md" -include = ["Cargo.toml", "src/**/*.rs", "crates-io.md", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] +include = ["src/**/*.rs", "crates-io.md", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] [dependencies] serde = { version = "1.0.60", path = "../serde" }