kexec-loader 0.17.0

Safe wrapper over kexec_file_load(2) (Linux) for boot handoff — supports the signature-verified variant only
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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"