Skip to content

Commit 9daa394

Browse files
twitchaxclaude
andcommitted
build: exclude heavy test audio fixtures from the published crate
The package had ballooned to 22.3 MiB compressed (vs 3.79 MiB for 0.7.1), over crates.io's 10 MiB limit, because large runtime test fixtures (test.flac ~11 MB, test.wav ~7.7 MB, C7b9.wav, vec.bin, etc.) were being bundled. They are loaded at runtime by #[cfg(test)] code via File::open, never include_bytes!, so excluding them does not affect the package's verify build or any consumer. Package now weighs 2.4 MiB compressed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014b36jZYPfvNrb1AKaguFUq
1 parent 35afce9 commit 9daa394

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kord/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ homepage = "https://github.com/twitchax/kord"
1010
repository = "https://github.com/twitchax/kord"
1111
keywords = ["cli", "music", "theory", "jazz", "chords"]
1212
categories = ["command-line-utilities"]
13-
exclude = ["samples/**/*", "noise/**/*", "../kord-web/"]
13+
exclude = ["samples/**/*", "noise/**/*", "../kord-web/", "tests/*.wav", "tests/*.flac", "tests/*.mp3", "tests/*.mid", "tests/vec.bin"]
1414

1515
[lib]
1616
name = "klib"

0 commit comments

Comments
 (0)