sylphx
The Sylphx SDK for Rust: one API (https://api.sylphx.com), one key, one
namespace per service.
[]
= "0.1"
= { = "1", = ["macros", "rt-multi-thread"] }
async
- Every service is a namespace (
sx.data(),sx.hosting(), …) and every collection a type on it (sx.data().databases()), with the standard methodsget,list,create,update,deleteand each custom method. - Mutations of reconciled Resources return an
Operation;.wait().awaitreturns the settled Resource. - Errors are
sylphx::Error::Api { code, status, retryable, effect, detail, request_id, .. }from the one RFC 9457 problem body. - The client retries retryable answers with full-jitter backoff, honours
Retry-After, and sends oneIdempotency-Keyper logical mutation. Client::invoke("data.databases.get", json!({"name": "…"}))calls any method by id with wire JSON.- Sylphx Data's objects and key-value entries (
sx.data().objects(),sx.data().kv()) are served athttps://api.data.sylphx.comwith the same key; each call carries oneSylphx-Effect-Id, reused on its retries. SYLPHX_URLandSYLPHX_SECRET_URL(per-project<project>.api.sylphx.comhosts, retired on 2026-09-03) are not read; a base URL on such a host is ignored with a warning.
This crate is generated from the Sylphx schema registry by sylphx-gen; do
not edit it by hand. Source: clients/rust in the Sylphx monorepo, published
from its MIT mirror.