feat: run http server to receive commands

This commit is contained in:
2025-02-15 22:47:22 -05:00
parent a937db0be6
commit 5752e94ad2
6 changed files with 138 additions and 7 deletions

10
Cargo.lock generated
View File

@@ -1180,6 +1180,9 @@ dependencies = [
"azalea",
"clap",
"futures",
"http-body-util",
"hyper",
"hyper-util",
"log",
"mlua",
"parking_lot",
@@ -1493,6 +1496,12 @@ version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2d708df4e7140240a16cd6ab0ab65c972d7433ab77819ea693fde9c43811e2a"
[[package]]
name = "httpdate"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
[[package]]
name = "hyper"
version = "1.6.0"
@@ -1505,6 +1514,7 @@ dependencies = [
"http",
"http-body",
"httparse",
"httpdate",
"itoa",
"pin-project-lite",
"smallvec",