withone 0.1.0

Typed Rust client for the One API: the client, webhooks and the action type every withone-<platform> crate builds on.
Documentation
//! The One SDK - a typed client over the One API.
//!
//! The transport layer is generated by progenitor from the One API's OpenAPI
//! snapshot. The hand-written facade (`One`) wraps it with auth and ergonomic,
//! verb-less action calls. Each platform's typed actions ship as their own
//! crate, `withone-<platform>`, built on this one.

/// Generated transport client (progenitor over the committed SDK spec).
///
/// Low-level, one method per operation. The hand-written facade (`One`)
/// wraps it; most users never touch this module directly.
pub mod transport {
    include!(concat!(env!("CARGO_MANIFEST_DIR"), "/src/generated/transport.rs"));
}

mod client;
pub use client::*;

mod retry;
pub use retry::*;

/// Receiving-side webhook verification, dispatch, and listener registration.
/// Build a [`Webhooks`] registry with [`One::webhooks`], attach typed handlers,
/// register it with [`Webhooks::listen`], and hand incoming requests to
/// [`Webhooks::handle`].
mod webhooks;
pub use webhooks::*;