tracedb-sdk 0.1.1

Rust SDK for the TraceDB platform-contract-v0 HTTP API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Prelude module for convenient imports
//!
//! This module re-exports the most commonly used types and traits.
//! Import it with: `use trace_db_api::prelude::*;`

// Client and configuration
pub use crate::config::ClientConfig;
pub use crate::core::{HttpClient, RequestOptions};
pub use crate::error::{ApiError, BuildError};

// Main client and resource clients
pub use crate::api::*;

// Re-export commonly used external types
pub use serde::{Deserialize, Serialize};
pub use serde_json::{json, Value};
pub use std::collections::{HashMap, HashSet};
pub use std::fmt;