Skip to main content

Module backend

Module backend 

Source
Expand description

Build backend abstraction.

Provides a unified BuildBackend trait that decouples the build orchestration logic from the underlying container tooling. Platform-specific implementations are selected at runtime via detect_backend.

§Backends

  • BuildahBackend — wraps the buildah CLI (Linux + macOS with buildah installed).
  • [SandboxBackend] — macOS-only, uses the Seatbelt sandbox when buildah is unavailable.

Structs§

BuildahBackend
Build backend that delegates to the buildah CLI.

Traits§

BuildBackend
A pluggable build backend.

Functions§

detect_backend
Auto-detect the best available build backend for the current platform.