buildkit_llb/lib.rs
1#![deny(warnings)]
2#![deny(clippy::all)]
3
4// FIXME: get rid of the unwraps
5// TODO: implement warnings for op hash collisions (will incredibly help to debug problems).
6// TODO: implement efficient `std::fmt::Debug` for the ops (naive implementation can't handle huge nested graphs).
7
8mod serialization;
9
10/// Supported operations - building blocks of the LLB definition graph.
11pub mod ops;
12
13/// Various helpers and types.
14pub mod utils;
15
16/// Convenient re-export of a commonly used things.
17pub mod prelude {
18 pub use crate::ops::exec::Mount;
19 pub use crate::ops::fs::LayerPath;
20 pub use crate::ops::source::ResolveMode;
21 pub use crate::ops::*;
22 pub use crate::utils::{OperationOutput, OutputIdx, OwnOutputIdx};
23}