refactor(notif): Use discord_client crate

- Moved code into a new Rust crate `node-notifier`
- Create new crate discord client
- node_notifier use now discord client
This commit is contained in:
2025-07-20 13:28:20 +02:00
parent f625268fca
commit 944d9d663d
8 changed files with 1939 additions and 116 deletions

12
node_notifier/Cargo.toml Normal file
View File

@@ -0,0 +1,12 @@
[package]
name = "node-notifier"
version = "0.1.0"
edition = "2024"
[dependencies]
dotenvy = "0.15.7"
reqwest = { version = "0.12.22", features = ["blocking", "json"] }
serde = "1.0.219"
serde_json = "1.0.140"
sysinfo = "0.35.2"
discord_client = { path = "../discord_client" }