mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-18 11:02:54 +00:00
- Add hmac, sha2, and base64 dependencies to Cargo.toml for JWT support - Add README.md with installation instructions, architecture overview, and API examples for all SDK modules - Add AuthProvider class with API key and JWT token support (generate_jwt_token, validate_jwt_token, get_headers, clear_token_cache methods) - Add HTTPClient base class with retry logic, error handling, and timeout management - Add SubscriberAPI module
27 lines
700 B
TOML
27 lines
700 B
TOML
[package]
|
|
name = "telecom-sdk"
|
|
version = "1.0.0"
|
|
edition = "2024"
|
|
authors = ["nutcas3 <[email protected]>"]
|
|
description = "Rust SDK for Telecom Platform"
|
|
license = "MIT"
|
|
repository = "https://github.com/nutcas3/telecom-platform"
|
|
|
|
[dependencies]
|
|
tokio = { version = "1.52", features = ["full"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
tokio-tungstenite = "0.26"
|
|
futures-util = "0.3"
|
|
uuid = { version = "1.11", features = ["v4", "serde"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
thiserror = "2.0"
|
|
url = "2.5"
|
|
hmac = "0.12"
|
|
sha2 = "0.10"
|
|
base64 = "0.22"
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4"
|