Added lua function to get the current hostname

This makes it possible to set options depending on what machine we are
running
This commit is contained in:
2024-05-03 19:37:16 +02:00
parent bb15558ab2
commit bf3d757710
4 changed files with 58 additions and 8 deletions

View File

@@ -43,8 +43,16 @@ enum_dispatch = "0.3.12"
indexmap = { version = "2.0.0", features = ["serde"] }
serde_yaml = "0.9.27"
tokio-cron-scheduler = "0.9.4"
mlua = { version = "0.9.7", features = ["lua54", "vendored", "macros", "serialize", "async", "send"] }
mlua = { version = "0.9.7", features = [
"lua54",
"vendored",
"macros",
"serialize",
"async",
"send",
] }
once_cell = "1.19.0"
hostname = "0.4.0"
[patch.crates-io]
wakey = { git = "https://git.huizinga.dev/Dreaded_X/wakey" }