Skip to main content

Crate tangled_api

Crate tangled_api 

Source
Expand description

Low-level, lexicon-generated XRPC client for Tangled and AT Protocol endpoints.

  • lexicon is generated from the vendored schemas in lexicons/ by cargo xtask codegen: typed records plus free functions returning pre-configured reqwest::RequestBuilders, so callers can attach their own headers/auth before sending.
  • xrpc holds the transport helpers (send, send_unit, send_bytes) and the xrpc::XrpcError type.
  • types holds the few hand-written types the generated code references (blob refs).

Multi-step orchestration (record CRUD flows, ServiceAuth minting, legacy wire-shape fallbacks) intentionally lives in the consumers of this crate, not here.

Modulesยง

lexicon
types
Hand-written types referenced by the generated lexicon code.
xrpc
Transport helpers shared by the generated lexicon builder functions.