From 66eddd4d9b9879390bd41d2debca623333fbbf1c Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Mon, 30 May 2016 07:00:13 -0700 Subject: [PATCH] Add "include" to Cargo.toml files This filters out junk files from the crates. Closes #331. --- serde/Cargo.toml | 1 + serde_codegen/Cargo.toml | 1 + serde_macros/Cargo.toml | 1 + 3 files changed, 3 insertions(+) diff --git a/serde/Cargo.toml b/serde/Cargo.toml index 62326ae5..96bcde72 100644 --- a/serde/Cargo.toml +++ b/serde/Cargo.toml @@ -8,6 +8,7 @@ repository = "https://github.com/serde-rs/serde" documentation = "https://serde-rs.github.io/serde/serde/" readme = "../README.md" keywords = ["serde", "serialization"] +include = ["Cargo.toml", "src/**/*.rs"] [features] default = ["std"] diff --git a/serde_codegen/Cargo.toml b/serde_codegen/Cargo.toml index f671b25f..3ee0f7fe 100644 --- a/serde_codegen/Cargo.toml +++ b/serde_codegen/Cargo.toml @@ -8,6 +8,7 @@ repository = "https://github.com/serde-rs/serde" documentation = "https://github.com/serde-rs/serde" keywords = ["serde", "serialization"] build = "build.rs" +include = ["Cargo.toml", "src/**/*.rs"] [features] default = ["with-syntex"] diff --git a/serde_macros/Cargo.toml b/serde_macros/Cargo.toml index 23a3ad5b..48c63982 100644 --- a/serde_macros/Cargo.toml +++ b/serde_macros/Cargo.toml @@ -7,6 +7,7 @@ description = "Macros to auto-generate implementations for the serde framework" repository = "https://github.com/serde-rs/serde" documentation = "https://github.com/serde-rs/serde" keywords = ["serde", "serialization"] +include = ["Cargo.toml", "src/**/*.rs"] [lib] name = "serde_macros"