Skip to content

Commit

Permalink
Merge pull request #894 from cgwalters/use-vendor-filter
Browse files Browse the repository at this point in the history
Configure `cargo vendor-filterer`
  • Loading branch information
bgilbert authored Jun 28, 2022
2 parents 24c1cc7 + dad44d3 commit 7f26b05
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ pre-release-commit-message = "cargo: coreos-installer release {{version}}"
pre-release-hook = ["make", "docs", "clean"]
tag-message = "coreos-installer v{{version}}"

# See https://github.com/cgwalters/cargo-vendor-filterer
[package.metadata.vendor-filter]
# Right now the vendor filter doesn't support wildcards, so use this as a stand-in.
# xref https://github.com/cgwalters/cargo-vendor-filterer/issues/23
# Note that architecture-specific crate dependencies (apart from wasm32) are uncommon
# in the ecosystem, but this project actually does have s390x-specific dependencies (below).
platforms = ["x86_64-unknown-linux-gnu", "s390x-unknown-linux-gnu"]
all-features = true

[features]
# rdcore is only useful inside the initrd of a CoreOS system
rdcore = []
Expand Down

0 comments on commit 7f26b05

Please sign in to comment.