Expand description
Rust client SDK for the Fabric platform.
This is a thin wrapper around the Fabric REST API. Every method
corresponds to an endpoint under /v1/... on a running Fabric API.
For the higher-level resource-oriented design, see the TypeScript SDK
at sdks/typescript/ — this crate is intentionally minimal and
returns serde_json::Value rather than typed models. A typed rewrite
is tracked in specs/plans/031-rust-sdk-rewrite.md and the Rust SDK
backlog in specs/SPRINT.md.
Re-exports§
pub use sse::SseEvent;
Modules§
- sse
- Server-Sent Events (SSE) streaming support.
Structs§
- Bundle
Entry - One slot in a heterogeneous bundle submission.
- Fabric
Client - Synchronous-style Fabric API client.
- Regenerate
- Hints for a regeneration run.
- RunArtifact
- Artifact produced by a workflow run.
- RunOutput
- Result of
GET /v1/workflows/runs/{id}/output. - Variant
Output - A single variant’s output and artifacts within a run.
Enums§
- Fabric
Error - Regenerate
Direction - Creative direction for a Regenerate run.
- Regenerate
Keep Flag - Aspect of the original output to preserve during regeneration.
- Variant
Kind - Card layout shape for a variant — declared by the workflow’s
WorkflowOutput.kind. Consumer UIs branch on this to pick the right rendering.Nonemeans the workflow didn’t declare a kind and consumers should fall back to deriving from artifact MIME types.