mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 15:45:53 +01:00
In preparation for vendoring composefs-rs from git. Basically before, things work fine when we're just vendoring from crates.io, but fall over when we add a git dependency. The Fedora `cargo_prep` macro writes a hardcoded `.cargo/config.toml` which only has a replacement for `crates.io`, but we need the generated replacement for git too which is output by `cargo vendor-filterer` - which previously we were discarding. This was surprisingly difficult! - Capture the output of `vendor-filterer` - Work around a bug where it puts a broken `directory` path in the generated TOML - Insert that as a new `vendor-config.toml` in our source - Do use `cargo_prep` to init the RPM config in the spec, but re-inject our vendor config appended to that one. Signed-off-by: Colin Walters <walters@verbum.org>
27 lines
539 B
TOML
27 lines
539 B
TOML
# See https://github.com/matklad/cargo-xtask
|
|
# This is an implementation detail of bootc
|
|
[package]
|
|
name = "xtask"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "xtask"
|
|
path = "src/xtask.rs"
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
camino = { workspace = true }
|
|
chrono = { workspace = true, features = ["std"] }
|
|
fn-error-context = { workspace = true }
|
|
tar = "0.4"
|
|
toml = "0.8"
|
|
tempfile = { workspace = true }
|
|
mandown = "0.1.3"
|
|
xshell = { version = "0.2.6" }
|
|
|
|
[lints]
|
|
workspace = true
|