vc_runtime/backend/
mod.rs1use crate::result::RuntimeResult;
8use anyhow::Result;
9use std::path::Path;
10use vc_output::CompilerOutput;
11
12#[derive(Debug, Clone)]
13pub struct RuntimeInput {
14 pub vc_output: CompilerOutput,
15}
16
17pub trait RuntimeBackend {
18 fn execute(&self, input: &RuntimeInput, output_dir: &Path) -> Result<RuntimeResult>;
19}
20
21mod context;
26#[cfg(feature = "comfy-renderer")]
27pub use context::ComfyContext;
28pub use context::{BuildContext, BuildContextBuilder, PythonContext};
29
30pub mod factory;
35mod registry;
36#[cfg(test)]
37pub mod test_utils;
38
39pub use factory::FactoryError;
40pub use registry::build_renderer;