diff --git a/.gitignore b/.gitignore index 45c577be26..01e77f152d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,10 @@ +syntax: glob Cargo.lock target/ -*.sw* +*.diff +*.rej +*.orig +.*.swn +.*.swo +.*.swp *.a diff --git a/Cargo.toml b/Cargo.toml index c5cdd0828a..c6418a5460 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,14 +7,7 @@ authors = ["The nix-rust Project Developers"] repository = "https://github.com/nix-rust/nix" license = "MIT" categories = ["os::unix-apis"] -exclude = [ - "/.gitignore", - "/.cirrus.yml", - "/ci/*", - "/Cross.toml", - "/RELEASE_PROCEDURE.md", - "/bors.toml" -] +include = ["src/**/*", "LICENSE", "README.md", "CHANGELOG.md"] [package.metadata.docs.rs] targets = [