feat(rust): add online activation and heartbeat (HTTPS + HMAC signing) for selfhosted provider

This commit is contained in:
2026-05-18 22:37:03 +08:00
parent 6f79bb97d9
commit ebb3da2ad6
5 changed files with 240 additions and 3 deletions
+5
View File
@@ -20,6 +20,11 @@ base64 = "0.22"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = { version = "0.4", features = ["serde"] }
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
tokio = { version = "1", features = ["rt", "macros"] }
hex = "0.4"
hmac = "0.12"
rand = "0.8"
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.52", features = ["Win32_System_Diagnostics_Debug"], optional = true }