ksud: Add support for module webui

This commit is contained in:
weishu
2024-02-20 16:39:05 +08:00
parent b0a42abf4f
commit cbd184421c
7 changed files with 587 additions and 5 deletions

View File

@@ -38,6 +38,12 @@ tempdir = "0.3"
chrono = "0.4"
hole-punch = { git = "https://github.com/tiann/hole-punch" }
# module server
tokio = { version = "1", features = ["full"] }
axum = "0.7"
tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.5.0", features = ["fs", "trace"] }
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
rustix = { git = "https://github.com/Kernel-SU/rustix.git", branch = "main", features = ["all-apis"] }
# some android specific dependencies which compiles under unix are also listed here for convenience of coding