brevo_rust/lib.rs
1//! # Brevo API SDK
2//!
3//! The official Rust SDK for the Brevo API.
4//!
5//! ## Getting Started
6//!
7//! ```rust
8//! use brevo_rust::prelude::*;
9//!
10//! #[tokio::main]
11//! async fn main() {
12//! let config = ClientConfig {
13//! api_key: Some("<value>".to_string()),
14//! ..Default::default()
15//! };
16//! let client = BrevoClient::new(config).expect("Failed to build client");
17//! client.account.get_account(None).await;
18//! }
19//! ```
20//!
21//! ## Modules
22//!
23//! - [`api`] - Core API types and models
24//! - [`client`] - Client implementations
25//! - [`config`] - Configuration options
26//! - [`core`] - Core utilities and infrastructure
27//! - [`error`] - Error types and handling
28//! - [`prelude`] - Common imports for convenience
29
30pub mod api;
31pub mod client;
32pub mod config;
33pub mod core;
34pub mod environment;
35pub mod error;
36pub mod prelude;
37
38pub use api::*;
39pub use client::*;
40pub use config::*;
41pub use core::*;
42pub use environment::*;
43pub use error::{ApiError, BuildError};