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
72
73
74
75
76
77
//! # Zero Trust SDK
//!
//! A powerful Rust SDK for interacting with Zero Trust Blockchain Databases.
//!
//! ## Features
//!
//! - **🔐 Authentication** - Secure JWT-based authentication
//! - **📊 Database Operations** - Full CRUD operations with typed queries
//! - **🔄 Data Migration** - Import/export with multiple format support
//! - **⚡ Real-time Sync** - Live data synchronization from external sources
//! - **🛡️ Type Safety** - Full Rust type safety with error handling
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use zero_trust_sdk::{ZeroTrustClient, Config};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Initialize client
//! let config = Config::new("https://api.zerotrust.com")?;
//! let client = ZeroTrustClient::new(config).await?;
//!
//! // Authenticate
//! client.auth().login("user@example.com", "password").await?;
//!
//! // Create database
//! let db = client.databases().create("my-app-db").await?;
//!
//! // Execute query
//! let results = client.databases()
//! .query("my-app-db")
//! .execute("SELECT * FROM users")
//! .await?;
//!
//! Ok(())
//! }
//! ```
// Re-exports for convenience
pub use ZeroTrustClient;
pub use Config;
pub use ;
/// Prelude module for common imports