Skip to main content

Crate cufflink_types

Crate cufflink_types 

Source

Re-exports§

pub use manifest::*;

Modules§

backoff
Retry delays for subscriptions, jobs, the outbox and webhook deliveries.
db
The db_call wire contract shared by the guest SDK and the platform: requests, responses, bound parameters and structured database errors.
delivery
The __delivery block of a v2 guest response: how the platform should settle the message or job the guest just handled.
ext
Extensions: the names, the NATS subjects and the messages of an ext_call, shared by the platform, the worker, the extension runner, the native services and the guest SDK.
features
Platform capability names: what /api/version advertises in supports and a manifest may demand in required_platform_features.
grants
Permission strings: the single owner of their grammar, shared by the platform and the guest SDK. Only the scope suffix has a grammar; the part before @ is compared exactly as before scopes existed, so no role string without @ changes meaning.
host
The envelopes of the host functions and the guest request, shared by the guest SDK and the platform so the two sides cannot drift.
manifest
The service manifest: everything the SDK macros emit about a service and the platform deploys from.
nats_names
NATS naming rules shared by the macros, the CLI and the platform.
openapi
OpenAPI spec generation from a ServiceManifest.
policy
Names of the per-tenant platform policies and their modes, shared by the platform (which evaluates them) and the CLI (which sets them).
route_path
Route path patterns of routing: strict services: parsed once here and shared by the service! macro, the deploy validator, the platform’s route table and the OpenAPI generator.
runner
The runner API: what a tenant’s runner reads of the one tenant its runner key is bound to. The extension runner reads the native services it runs, their binaries and their environments; a tenant-scoped web runner the web apps it serves, their bundles and their environments.
slug
Identifier rules shared by the platform and the processes that turn identifiers into database names, NATS subjects and filesystem paths.