From 64c1ffde5456a3e261fa37a055792ff3a733942b Mon Sep 17 00:00:00 2001 From: Georg Semmler Date: Tue, 16 Dec 2025 12:12:21 +0100 Subject: [PATCH] Exclude development scripts from published package During a dependency review we noticed that the matrixmultiply crate includes various development scripts. These development scripts shouldn't be there as they might, at some point become problematic. As of now they prevent any downstream user from enabling the `[bans.build.interpreted]` option of cargo deny. I opted for using an explicit include list instead of an exclude list to prevent these files from being included in the published packages to make sure that everything that's included is an conscious choice. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7a3bf3a..064feaa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ Supports multithreading.""" keywords = ["matrix", "sgemm", "dgemm"] categories = ["science"] -exclude = ["docs/*"] +include = ["README.rst", "build.rs", "LICENSE-MIT", "LICENSE-APACHE", "src/**/*.rs", "Cargo.toml"] build = "build.rs"