infinity-build-core 0.3.7

Core build abstractions for the infinity-msfs toolchain. Defines the Builder trait, common error/artifact types, and config primitives shared by Rust/WASM and JS/TS build paths.
Documentation
1
2
3
4
5
6
7
8
use crate::{Artifact, BuildResult};

pub trait Builder {
    type Input;
    type Output: Artifact;

    fn build(&self, input: &Self::Input) -> BuildResult<Self::Output>;
}