pub mod dockerfile;
#[cfg(any(
all(target_os = "macos", target_arch = "aarch64"),
all(target_os = "linux", target_arch = "x86_64")
))]
pub mod executor;
#[cfg(any(
all(target_os = "macos", target_arch = "aarch64"),
all(target_os = "linux", target_arch = "x86_64")
))]
mod fetch;
#[cfg(any(
all(target_os = "macos", target_arch = "aarch64"),
all(target_os = "linux", target_arch = "x86_64")
))]
mod subst;
pub use dockerfile::{parse, Dockerfile, Instruction, ShellOrExec, Stage};
#[cfg(all(target_os = "macos", target_arch = "aarch64"))]
pub use executor::{
build_linear, commit_squashfs, dockerfile_layer_prune_enabled, export_oci,
prune_dockerfile_layer_snapshots, runsc_prune_dockerfile_layers_enabled, BuildOutcome, Builder,
CommitOutcome, ImageConfig, OciExportOutcome,
};
#[cfg(all(target_os = "linux", target_arch = "x86_64"))]
pub use executor::{
build_linear, commit_kvm_bootable, commit_squashfs, dockerfile_layer_prune_enabled, export_oci,
prune_dockerfile_layer_snapshots, runsc_prune_dockerfile_layers_enabled, BuildOutcome, Builder,
CommitOutcome, ImageConfig, OciExportOutcome,
};