Skip to main content

Crate elfpak_core

Crate elfpak_core 

Source
Expand description

ELF analysis, dependency resolution, bundle planning, and rootfs output.

Re-exports§

pub use elf::Architecture;
pub use elf::ElfClass;
pub use elf::ElfMetadata;
pub use elf::Endianness;
pub use elf::Machine;
pub use elf::ObjectType;
pub use error::Error;
pub use error::Result;
pub use graph::DependencyGraph;
pub use graph::DependencyReason;
pub use graph::Digest;
pub use graph::Node;
pub use graph::NodeKind;
pub use manifest::Manifest;
pub use manifest::ManifestImage;
pub use manifest::ManifestOutputs;
pub use manifest::VerifyReport;
pub use oci::OciArchiveBuilder;
pub use oci::OciImageConfig;
pub use oci::OciLayoutBuilder;
pub use oci::OciReport;
pub use oci::ResolvedImageConfig;
pub use plan::ApplicationPlan;
pub use plan::BundlePlan;
pub use plan::InclusionReason;
pub use plan::PlannedFile;
pub use plan::PlannedFileKind;
pub use plan::Planner;
pub use plan::Warning;
pub use policy::CachePolicy;
pub use policy::DependencyPolicy;
pub use policy::Preset;
pub use policy::RuntimeFeature;
pub use policy::RuntimePolicy;
pub use policy::UserSpec;
pub use resolver::DynamicLinkerResolver;
pub use resolver::LdCache;
pub use resolver::LibraryRequest;
pub use resolver::Resolver;
pub use rootfs::RootFsBuilder;
pub use rootfs::RootFsReport;
pub use rootfs::TarBuilder;
pub use rootfs::TarReport;
pub use source::SourceRoot;

Modules§

diagnostics
Every diagnostic code elfpak can print, in one place.
elf
ELF parsing boundary.
error
Structured errors for elfpak.
graph
The dependency graph records both what is included and why.
hash
Content hashing and a small per-run cache.
manifest
Machine-readable record of a bundle: what was included and why.
oci
OCI image layout and archive output.
paths
Lexical path handling.
plan
Two-phase packaging: DISCOVER -> BundlePlan -> VALIDATE -> MATERIALIZE.
policy
Runtime policy: everything that ELF analysis cannot prove.
resolver
The dynamic linker resolver.
rootfs
Root filesystem materialization backends.
source
The source filesystem, abstracted behind --root.

Constants§

VERSION