Directly send wol packet instead of using the webhook
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-01-19 16:35:35 +01:00
parent a0cefa8302
commit aa8963bd4a
6 changed files with 50 additions and 26 deletions

23
Cargo.lock generated
View File

@@ -17,6 +17,12 @@ version = "1.0.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2cb2f989d18dd141ab8ae82f64d1a8cdd37e0840f73a406896cf5e99502fab61"
[[package]]
name = "arrayvec"
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6"
[[package]]
name = "async-recursion"
version = "1.0.0"
@@ -72,6 +78,7 @@ dependencies = [
"toml",
"tracing",
"tracing-subscriber",
"wakey",
]
[[package]]
@@ -375,6 +382,12 @@ dependencies = [
"libc",
]
[[package]]
name = "hex"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "http"
version = "0.2.8"
@@ -1282,6 +1295,16 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
[[package]]
name = "wakey"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dedab5a691c0d33bcfb5c1ed6bb17265e531ed3392282eed9b20063a0f23e9f5"
dependencies = [
"arrayvec",
"hex",
]
[[package]]
name = "want"
version = "0.3.0"