Skip to content

Commit e493f83

Browse files
authored
Merge pull request #1463 from asomers/cargo-diet
Slim down the size of the built package
2 parents a6cd121 + 28793aa commit e493f83

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.gitignore

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
syntax: glob
12
Cargo.lock
23
target/
3-
*.sw*
4+
*.diff
5+
*.rej
6+
*.orig
7+
.*.swn
8+
.*.swo
9+
.*.swp
410
*.a

Cargo.toml

+1-8
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,7 @@ authors = ["The nix-rust Project Developers"]
77
repository = "https://github.com/nix-rust/nix"
88
license = "MIT"
99
categories = ["os::unix-apis"]
10-
exclude = [
11-
"/.gitignore",
12-
"/.cirrus.yml",
13-
"/ci/*",
14-
"/Cross.toml",
15-
"/RELEASE_PROCEDURE.md",
16-
"/bors.toml"
17-
]
10+
include = ["src/**/*", "LICENSE", "README.md", "CHANGELOG.md"]
1811

1912
[package.metadata.docs.rs]
2013
targets = [

0 commit comments

Comments
 (0)