Commit 24e51b5
Exclude bad test keys from the published package
During a dependency review I noticed that tokio-rustls includes bad test
keys in the binary pem format in the published packages. These files are
not required for building tokio-rustls and make it harder to review the
code.
This commit explicitly excludes these files from the published package.
Before this change `cargo package` reported a size of 22 files, 137.1KiB (34.6KiB compressed).
After this change it reports a size of 14 files, 110.6KiB (27.3KiB compressed).
Nevertheless given the current number of 17 million downloads per month
that would result in a 118 GB/month traffic reduction for crates.io. For
me personally the exclusion of the binary files is the more important
outcome.1 parent aca7650 commit 24e51b5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments