From f86d8699a787bd18b91873dac4cb66c493fc6ca9 Mon Sep 17 00:00:00 2001 From: Zero Date: Sat, 11 Mar 2023 15:04:24 -0700 Subject: [PATCH] trim whisper-rs-sys crate size down to 546.9KiB --- sys/Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/Cargo.toml b/sys/Cargo.toml index 3417775..e3a2a54 100644 --- a/sys/Cargo.toml +++ b/sys/Cargo.toml @@ -7,6 +7,14 @@ license = "Unlicense" documentation = "https://docs.rs/whisper-rs-sys" repository = "https://github.com/tazz4843/whisper-rs" links = "whisper" +exclude = [ + "whisper.cpp/bindings", + "whisper.cpp/examples", + "whisper.cpp/extra", + "whisper.cpp/models", + "whisper.cpp/samples", + "whisper.cpp/tests", +] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html