blueprint-runner 0.2.0-alpha.1

Runner for the Blueprint SDK
docs.rs failed to build blueprint-runner-0.2.0-alpha.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: blueprint-runner-0.1.0-alpha.18

blueprint-runner

Execution runtime for Blueprint jobs.

blueprint-runner owns the long-running execution loop: consume JobCalls from producers, route calls to handlers, and forward JobResults to consumers. It also hosts background services (for example webhooks/x402 gateways).

Core responsibilities

  • Runner builder and lifecycle management
  • Producer/consumer orchestration
  • Background service execution
  • Protocol-aware runtime hooks (feature-gated)

Minimal setup

use blueprint_runner::BlueprintRunner;
use blueprint_runner::config::BlueprintEnvironment;
use blueprint_router::Router;

async fn ping() -> &'static str { "pong" }

let env = BlueprintEnvironment::default();
let router = Router::new().route(0, ping);

BlueprintRunner::builder((), env)
    .router(router)
    .run()
    .await?;

Related links