Skip to content

Commit 8fbacae

Browse files
Cargo.toml: add cargo vendor-filterer
Copy the config from bootc. This results in an impressive (> 50%) amount of savings. Signed-off-by: Allison Karlitskaya <[email protected]>
1 parent a8975c5 commit 8fbacae

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/Cargo.lock
2-
/target
2+
/target/
3+
/vendor/

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@ opt-level = 3
2626
[profile.profiling]
2727
inherits = "release"
2828
debug = true
29+
30+
[workspace.metadata.vendor-filter]
31+
# match cargo-vendor-filterer config from bootc
32+
platforms = ["*-unknown-linux-gnu"]
33+
tier = "2"
34+
all-features = true

0 commit comments

Comments
 (0)