edgequake_sdk/lib.rs
1#![allow(dead_code)]
2
3//! # EdgeQuake Rust SDK
4//!
5//! A production-ready Rust client for the EdgeQuake RAG API.
6//!
7//! ## Quick start
8//!
9//! ```rust,no_run
10//! use edgequake_sdk::EdgeQuakeClient;
11//!
12//! #[tokio::main]
13//! async fn main() -> edgequake_sdk::Result<()> {
14//! let client = EdgeQuakeClient::builder()
15//! .base_url("http://localhost:8080")
16//! .api_key("my-api-key")
17//! .build()?;
18//!
19//! let health = client.health().check().await?;
20//! println!("status: {}", health.status);
21//! Ok(())
22//! }
23//! ```
24
25pub mod client;
26pub mod config;
27pub mod error;
28pub mod resources;
29pub mod types;
30
31// Re-exports for ergonomic usage.
32pub use client::{ClientBuilder, EdgeQuakeClient};
33pub use config::{Auth, ClientConfig, TenantContext};
34pub use error::{Error, Result};