deb-bootupd/Cargo.toml
robojerk f30ced3551
Some checks failed
Build deb-bootupd Artifacts / build (push) Failing after 8m34s
Fix ZSTD linking with build script and clean debian/install
- Add build.rs to handle ZSTD library linking via pkg-config
- Add pkg-config as build dependency in Cargo.toml
- Clean debian/install to avoid conflicts with manual installation
- ZSTD linking now works properly for OpenSSL with ZSTD support
- Local Debian package build succeeds
2025-08-10 13:27:12 -07:00

66 lines
1.7 KiB
TOML
Executable file

[package]
name = "bootupd"
description = "Bootloader updater"
license = "Apache-2.0"
version = "0.2.28"
authors = ["Colin Walters <walters@verbum.org>"]
edition = "2021"
rust-version = "1.84.1"
homepage = "https://github.com/coreos/bootupd"
include = ["src", "LICENSE", "Makefile", "systemd"]
# See https://github.com/coreos/cargo-vendor-filterer
[package.metadata.vendor-filter]
platforms = ["*-unknown-linux-gnu"]
tier = "2"
[[bin]]
name = "bootupd"
path = "src/main.rs"
[dependencies]
anyhow = "1.0"
bincode = "1.3.2"
bootc-internal-blockdev = "0.0.0"
bootc-internal-utils = "0.0.0"
cap-std-ext = "4.0.6"
camino = "1.1.10"
chrono = { version = "0.4.41", features = ["serde"] }
clap = { version = "4.5", default-features = false, features = ["cargo", "derive", "std", "help", "usage", "suggestions"] }
env_logger = "0.11"
fail = { version = "0.5", features = ["failpoints"] }
fn-error-context = "0.2.1"
fs2 = "0.4.3"
hex = "0.4.3"
libc = "^0.2"
libsystemd = ">= 0.3, < 0.8"
log = "^0.4"
openat = "0.1.20"
openat-ext = ">= 0.2.2, < 0.3.0"
openssl = "^0.10"
os-release = "0.1.0"
regex = "1.11.1"
rustix = { version = "1.0.8", features = ["process", "fs"] }
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
tempfile = "^3.20"
widestring = "1.2.0"
walkdir = "2.3.2"
signal-hook-registry = "1.4.5"
[build-dependencies]
pkg-config = "0.3"
[profile.release]
# We assume we're being delivered via e.g. RPM which supports split debuginfo
debug = true
[package.metadata.release]
disable-publish = true
disable-push = true
post-release-commit-message = "cargo: development version bump"
pre-release-commit-message = "cargo: bootupd release {{version}}"
sign-commit = true
sign-tag = true
tag-message = "bootupd {{version}}"