docs.rs failed to build blueprint-webhooks-0.2.0-alpha.2
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.
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.
blueprint-webhooks
Webhook gateway for Blueprint SDK.
This crate exposes HTTP endpoints that authenticate inbound requests and inject JobCalls into a running Blueprint.
What it provides
WebhookGatewaybackground service (axum)WebhookProducerstream that converts verified webhook events intoJobCalls- Per-endpoint route mapping (
path -> job_id) - Auth modes:
nonebearerhmac-sha256api-key
- Health endpoint:
GET /webhooks/health
Quick integration
use ;
use BlueprintRunner;
let config = from_toml?;
let = new?;
builder
.router
.producer
.background_service
.run
.await?;
Related links
- Source: https://github.com/tangle-network/blueprint/tree/main/crates/webhooks
- Docs site page: https://docs.tangle.tools/developers/blueprint-runner/webhooks
- Trigger model context (cron/on-chain/webhooks/x402): https://docs.tangle.tools/developers/blueprint-runner/job-triggers