Commit 23ba294
committed
Exclude test data and tools from published packages
During our dependency reviews we discovered that the ttf-parser crate as
uploaded to crates.io includes test data and additional tools that are
not used by the rust code. This increases the package size and makes it
harder to review the source code.
This commit explicitly includes only relevant files. This helps to
reduce the package size
Before: 118 files, 1.0MiB (198.4KiB compressed)
After: 75 files, 747.1KiB (140.6KiB compressed)
Overall based on the reduction in the compressed package size and the
current download numbers that results to a traffic reduction for
crates.io of around 110GB / Month.1 parent a6813b4 commit 23ba294
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| |||
0 commit comments