Skip to content

Commit

Permalink
build-sys: Trim k8s-openapi some
Browse files Browse the repository at this point in the history
This drops ~40M uncompressed from the vendor set.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Sep 26, 2023
1 parent a1ea1bf commit b5e642e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
]

0 comments on commit b5e642e

Please sign in to comment.