added async support with tokio, modularised lua and removed the test functions from backend

This commit is contained in:
2026-11-24 13:53:38 +00:00
parent e6e93fc38f
commit eefb89c51d
8 changed files with 254 additions and 236 deletions

View File

@@ -5,4 +5,5 @@ edition = "2024"
[dependencies]
backend = {path = "../backend/"}
mlua = { version = "0.12.2", features = ["lua54", "vendored"] }
mlua = { version = "0.12.2", features = ["lua54", "async", "vendored"] }
tokio = { version = "1.54.1", features = ["full"] }