[package]
edition = "2024"
rust-version = "1.88"
name = "kexec-loader"
version = "0.17.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe wrapper over kexec_file_load(2) (Linux) for boot handoff — supports the signature-verified variant only"
homepage = "https://github.com/aegis-boot/aegis-boot"
documentation = "https://docs.rs/kexec-loader"
readme = "README.md"
keywords = [
"kexec",
"linux",
"reboot",
"ffi",
"syscall",
]
categories = [
"os::linux-apis",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/aegis-boot/aegis-boot"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "kexec_loader"
path = "src/lib.rs"
[[test]]
name = "dry_run_integration"
path = "tests/dry_run_integration.rs"
[dependencies.libc]
version = "0.2"
[dependencies.thiserror]
version = "2.0"
features = ["std"]
[dependencies.tracing]
version = "0.1"
[target.'cfg(not(target_os = "linux"))'.dependencies]
[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"