1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#![deny(warnings)]
#![deny(clippy::all)]

// FIXME: get rid of the unwraps
// TODO: implement warnings for op hash collisions (will incredibly help to debug problems).
// TODO: implement efficient `std::fmt::Debug` for the ops (naive implementation can't handle huge nested graphs).

mod serialization;

/// Supported operations - building blocks of the LLB definition graph.
pub mod ops;

/// Various helpers and types.
pub mod utils;

/// Convenient re-export of a commonly used things.
pub mod prelude {
    pub use crate::ops::exec::Mount;
    pub use crate::ops::fs::LayerPath;
    pub use crate::ops::source::ResolveMode;
    pub use crate::ops::*;
    pub use crate::utils::{OperationOutput, OutputIdx, OwnOutputIdx};
}