From 0d0dc7a1a9fe306970aa748c9a9d4a4e9a14eed4 Mon Sep 17 00:00:00 2001 From: xnorpx Date: Sat, 31 Jan 2026 18:57:22 -0800 Subject: [PATCH 1/2] Fixes --- Cargo.toml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0764bca..ec3a92f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,15 @@ keywords = ["opus", "audio", "codec", "ffi", "bindings"] categories = ["external-ffi-bindings", "multimedia::audio"] links = "opus" build = "build.rs" +exclude = [ + "*.py", + ".github/", + "vendored/opus/.git*", + "vendored/opus/.gitlab-ci.yml", + "vendored/opus/doc/", + "vendored/opus/tests/", + "vendored/opus/training/", +] [dependencies] @@ -25,5 +34,3 @@ dred = [] osce = [] # Enable fast math optimizations (enables OPUS_FLOAT_APPROX and OPUS_FAST_MATH) fast-math = [] -# Enable to regenerate bindings (requires bindgen CLI or bindgen crate) -regenerate-bindings = [] From 69ff71b76ee960e62387f7387b35f4a3017740ce Mon Sep 17 00:00:00 2001 From: xnorpx Date: Sat, 31 Jan 2026 19:04:04 -0800 Subject: [PATCH 2/2] . --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index ec3a92f..3ca8e1d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,12 @@ exclude = [ "vendored/opus/doc/", "vendored/opus/tests/", "vendored/opus/training/", + "vendored/opus/dnn/**/*.pth", + "vendored/opus/dnn/**/*.ipynb", + "vendored/opus/dnn/**/*.tar", + "vendored/opus/dnn/**/*.py", + "vendored/opus/scripts/", + "vendored/opus/meson/", ] [dependencies]