llm_cost_ops_sdk/lib.rs
1//! LLM-CostOps SDK - Client library for integrating with LLM Cost Ops
2//!
3//! This crate provides a high-level SDK for interacting with the LLM Cost Ops
4//! API, including automatic retries, telemetry, and type-safe client methods.
5
6pub mod sdk;
7
8// Re-export commonly used types
9pub use sdk::{
10 // Client
11 CostOpsClient, ClientBuilder,
12 // Configuration
13 ClientConfig, RetryConfig, TelemetryConfig, PoolConfig, RateLimitConfig,
14 // Error types
15 SdkError, SdkResult,
16 // Types
17 UsageRequest, UsageResponse, CostRequest, CostResponse,
18 ForecastRequest, ForecastResponse, QueryParams, Pagination,
19 PaginatedResponse,
20 // Retry
21 RetryPolicy, BackoffStrategy,
22 // Telemetry
23 SdkMetrics, TelemetryCollector,
24};
25
26/// Library version
27pub const VERSION: &str = env!("CARGO_PKG_VERSION");