(feat): migrate to rust

This commit is contained in:
Alois 2026-07-02 22:39:45 +02:00
commit 20b12f3c60
28 changed files with 3365 additions and 2775 deletions

22
Cargo.toml Normal file
View file

@ -0,0 +1,22 @@
[package]
name = "tauth-sdk"
version = "0.1.0"
edition = "2024"
license = "UNLICENSED"
[lib]
name = "tauth_sdk"
path = "src/lib.rs"
[dependencies]
base64 = "0.22"
mtp = { git = "https://git.methanium.net/methanium/mtp.git", features = ["client", "crypto"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
tokio = { version = "1", features = ["rt", "time"] }
url = "2"
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] }