[package]
edition = "2024"
rust-version = "1.98"
name = "elfpak-core"
version = "0.5.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for elfpak: ELF analysis, loader-faithful resolution, and rootfs planning"
readme = "README.md"
keywords = [
"elf",
"linux",
"glibc",
"dynamic-linker",
"rootfs",
]
categories = [
"development-tools",
"filesystem",
"parser-implementations",
"virtualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/asaaki/elfpak"
[lib]
name = "elfpak_core"
path = "src/lib.rs"
[[test]]
name = "elf_robustness"
path = "tests/elf_robustness.rs"
[[test]]
name = "glibc_compare"
path = "tests/glibc_compare.rs"
[[test]]
name = "oci"
path = "tests/oci.rs"
[[test]]
name = "resolver"
path = "tests/resolver.rs"
[[test]]
name = "rootfs"
path = "tests/rootfs.rs"
[dependencies.goblin]
version = "0.10"
features = [
"elf32",
"elf64",
"endian_fd",
"std",
]
default-features = false
[dependencies.rustix]
version = "1"
features = ["fs"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.sha2]
version = "0.11"
[dependencies.tar]
version = "0.4"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[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"