Add "include" to Cargo.toml files

This filters out junk files from the crates.

Closes #331.
This commit is contained in:
Erick Tryzelaar 2016-05-30 07:00:13 -07:00
parent 6c2af4da7a
commit 66eddd4d9b
3 changed files with 3 additions and 0 deletions

View File

@ -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"]

View File

@ -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"]

View File

@ -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"