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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//! # TraceDB v1 HTTP API SDK
//!
//! The official Rust SDK for the TraceDB v1 HTTP API.
//!
//! ## Getting Started
//!
//! ```rust
//! use trace_db_api::prelude::*;
//!
//! #[tokio::main]
//! async fn main() {
//! let config = ClientConfig {
//! token: Some("<token>".to_string()),
//! ..Default::default()
//! };
//! let client = ApiClient::new(config).expect("Failed to build client");
//! client
//! .tracedb
//! .admin
//! .post_admin_compact(
//! &EmptyObject(HashMap::from([(
//! "key".to_string(),
//! serde_json::json!("value"),
//! )])),
//! 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
// Generated client code from Fern triggers several clippy lints that are safe
// to allow for a generated SDK crate. These are reviewed upstream with Fern.
// Fern generates doc comments containing Vec<T> / Vec<Option<bool>> which
// rustdoc interprets as unclosed HTML tags.
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use ;