1use crate::{Artifact, BuildResult}; 2 3pub trait Builder { 4 type Input; 5 type Output: Artifact; 6 7 fn build(&self, input: &Self::Input) -> BuildResult<Self::Output>; 8}