Something went wrong. Try again.
Rust CLI for tangled
Something went wrong. Try again.
795 B · 19 lines
Rust
at main
1234567891011121314151617181920//! 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::RequestBuilder`]s, 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.
pub mod lexicon;pub mod types;pub mod xrpc;