Skip to content

Commit 71233b5

Browse files
authored
cargo: reduce crate size by excluding fuzz/ and record/
The `fuzz/` and `record/` directories are about 2MiB, and are not used by the end user. This removes them from the crate for future publishes. Also, this avoids risk of an [xz-style attack] leveraging the binary files produced by fuzzing, where malicious code could be slipped in past review through binary test data. PR #1281 [zx-style attack]: https://en.wikipedia.org/wiki/XZ_Utils_backdoor
1 parent cf00423 commit 71233b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ finite automata and guarantees linear time matching on all inputs.
1313
"""
1414
categories = ["text-processing"]
1515
autotests = false
16-
exclude = ["/scripts/*", "/.github/*"]
16+
exclude = ["/fuzz/*", "/record/*", "/scripts/*", "/.github/*"]
1717
edition = "2021"
1818
rust-version = "1.65"
1919

0 commit comments

Comments
 (0)