diff --git a/Cargo.toml b/Cargo.toml index a58645d0b2..c1794490e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,10 +6,8 @@ categories = ["development-tools::procedural-macro-helpers", "parser-implementat description = "Parser for Rust source code" documentation = "https://docs.rs/syn" edition = "2021" -exclude = ["build.rs"] include = [ "/benches/**", - "/build.rs", "/Cargo.toml", "/LICENSE-APACHE", "/LICENSE-MIT", diff --git a/build.rs b/build.rs index 5a9e619d67..c550dddb28 100644 --- a/build.rs +++ b/build.rs @@ -15,7 +15,7 @@ fn main() { None => return, }; - // Note: remove exclude=["build.rs"] from Cargo.toml if adding any + // Note: add "/build.rs" to package.include in Cargo.toml if adding any // conditional compilation within the library. let _ = compiler.minor;