pub async fn run_dflt_engine_export_only<M, T, A>(op: EngineOperation, app: A) -> i32
where
    M: MutableStore + 'static,
    T: TranslationsManager + 'static,
    A: Fn() -> PerseusAppBase<SsrNode, M, T> + 'static + Send + Sync + Clone,
{
    let serve_fn = |_, _, _| async {
        panic!("`run_dflt_engine_export_only` cannot run a server; you should use `run_dflt_engine` instead and import a server integration (e.g. `perseus-warp`)")
    };
    run_dflt_engine(op, app, serve_fn).await
}
A wrapper around `run_dflt_engine` for apps that only use exporting, and so
don't need to bring in a server integration. This is designed to avoid extra
dependencies. If `perseus serve` is called on an app using this, it will
`panic!` after building everything.
packages/perseus/src/engine/dflt_engine.rs