Skip to main content

clickhouse_cloud_api/
lib.rs

1//! # clickhouse-cloud-api
2//!
3//! Typed Rust client for the ClickHouse Cloud API.
4//!
5//! ## Usage
6//!
7//! ```rust,no_run
8//! use clickhouse_cloud_api::Client;
9//!
10//! #[tokio::main]
11//! async fn main() -> Result<(), clickhouse_cloud_api::Error> {
12//!     let client = Client::new("your-key-id", "your-key-secret");
13//!     let orgs = client.organization_get_list().await?;
14//!     println!("{:?}", orgs);
15//!     Ok(())
16//! }
17//! ```
18
19pub mod client;
20pub mod error;
21pub mod meta;
22#[allow(non_camel_case_types)]
23pub mod models;
24
25pub use client::Client;
26pub use error::Error;
27pub use meta::{is_beta_operation, BETA_OPERATIONS};
28pub use models::*;