1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//! # Foru.ms API v2 SDK
//!
//! The official Rust SDK for the Foru.ms API v2.
//!
//! ## Getting Started
//!
//! ```rust
//! use foru_ms_sdk::prelude::*;
//!
//! #[tokio::main]
//! async fn main() {
//! let config = ClientConfig {
//! api_key: Some("<value>".to_string()),
//! ..Default::default()
//! };
//! let client = ForumClient::new(config).expect("Failed to build client");
//! client
//! .auth
//! .register(
//! &PostAuthRegisterRequest {
//! username: "username".to_string(),
//! email: "email".to_string(),
//! password: "password".to_string(),
//! display_name: None,
//! roles: None,
//! bio: None,
//! extended_data: None,
//! },
//! None,
//! )
//! .await;
//! }
//! ```
//!
//! ## Modules
//!
//! - [`api`] - Core API types and models
//! - [`client`] - Client implementations
//! - [`config`] - Configuration options
//! - [`core`] - Core utilities and infrastructure
//! - [`error`] - Error types and handling
//! - [`prelude`] - Common imports for convenience
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use ApiError;