[package]
edition = "2024"
rust-version = "1.98"
name = "cargo-elfpak"
version = "0.5.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cargo subcommand for packaging a binary and its Linux runtime closure"
readme = "README.md"
keywords = [
"cargo-subcommand",
"elf",
"linux",
"container",
"rootfs",
]
categories = [
"command-line-utilities",
"development-tools",
"virtualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/asaaki/elfpak"
[lib]
name = "cargo_elfpak"
path = "src/lib.rs"
[[bin]]
name = "cargo-elfpak"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[dependencies.anyhow]
version = "1"
[dependencies.cargo_metadata]
version = "0.23.1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.elfpak]
version = "0.5.2"
[dev-dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
cast_lossless = "warn"
cast_possible_truncation = "warn"
undocumented_unsafe_blocks = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"