From b5e642e904a15f38a0f9782fe3f0d6e890e37f62 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 26 Sep 2023 10:30:40 -0400 Subject: [PATCH] build-sys: Trim k8s-openapi some This drops ~40M uncompressed from the vendor set. Signed-off-by: Colin Walters --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f4989290f..b551ca085 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,4 +29,12 @@ exclude-crate-paths = [ { name = "libz-sys", exclude = "src/zlib" }, { name = "rustix", exclude = "src/imp/linux_raw" }, # Test files that include binaries { name = "system-deps", exclude = "src/tests" }, + # This stuff is giant, trim unused versions + { name = "k8s-openapi", exclude = "src/v1_20" }, + { name = "k8s-openapi", exclude = "src/v1_21" }, + { name = "k8s-openapi", exclude = "src/v1_22" }, + { name = "k8s-openapi", exclude = "src/v1_23" }, + { name = "k8s-openapi", exclude = "src/v1_24" }, + # We use 1.25 + { name = "k8s-openapi", exclude = "src/v1_26" }, ]