mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-11-24 12:58:48 +00:00
feat: Add Rust SDK with tokio async/await support and comprehensive Telecom Platform API integration
- Add Cargo.toml with tokio 1.52.1 (full features), reqwest 0.13.2 (json), tokio-tungstenite 0.29.0, serde 1.0.228, chrono 0.4.44 - Add TelecomClient with reqwest Client and TelecomConfig with 30s timeout, 3 retries - Add subscriber management: get_subscriber, list_subscribers with pagination/status filter, create_subscriber, update_subscriber, suspend_subscriber, activate_subscriber, terminate_subscriber
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
[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.1", features = ["full"] }
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = "1.0.149"
|
||||
reqwest = { version = "0.13.2", features = ["json"] }
|
||||
tokio-tungstenite = "0.29.0"
|
||||
futures-util = "0.3.32"
|
||||
uuid = { version = "1.23.1", features = ["v4", "serde"] }
|
||||
chrono = { version = "0.4.44", features = ["serde"] }
|
||||
thiserror = "2.0.18"
|
||||
url = "2.5.8"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio-test = "0.4.5"
|
||||
Reference in New Issue
Block a user