Skip to main content

elfpak_core/
lib.rs

1//! ELF analysis, dependency resolution, bundle planning, and rootfs output.
2
3pub mod diagnostics;
4pub mod elf;
5pub mod error;
6pub mod graph;
7pub mod hash;
8pub mod manifest;
9pub mod oci;
10pub mod paths;
11pub mod plan;
12pub mod policy;
13pub mod resolver;
14pub mod rootfs;
15pub mod source;
16
17pub use elf::{Architecture, ElfClass, ElfMetadata, Endianness, Machine, ObjectType};
18pub use error::{Error, Result};
19pub use graph::{DependencyGraph, DependencyReason, Digest, Node, NodeKind};
20pub use manifest::{Manifest, ManifestImage, ManifestOutputs, VerifyReport};
21pub use oci::{
22    OciArchiveBuilder, OciImageConfig, OciLayoutBuilder, OciReport, ResolvedImageConfig,
23};
24pub use plan::{
25    ApplicationPlan, BundlePlan, InclusionReason, PlannedFile, PlannedFileKind, Planner, Warning,
26};
27pub use policy::{CachePolicy, DependencyPolicy, Preset, RuntimeFeature, RuntimePolicy, UserSpec};
28pub use resolver::{DynamicLinkerResolver, LdCache, LibraryRequest, Resolver};
29pub use rootfs::{RootFsBuilder, RootFsReport, TarBuilder, TarReport};
30pub use source::SourceRoot;
31
32pub const VERSION: &str = env!("CARGO_PKG_VERSION");