Skip to content

Commit

Permalink
Merge pull request #1463 from asomers/cargo-diet
Browse files Browse the repository at this point in the history
Slim down the size of the built package
  • Loading branch information
asomers authored Jul 11, 2021
2 parents a6cd121 + 28793aa commit e493f83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
syntax: glob
Cargo.lock
target/
*.sw*
*.diff
*.rej
*.orig
.*.swn
.*.swo
.*.swp
*.a
9 changes: 1 addition & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit e493f83

Please sign in to comment.