2024-09-18 21:55:28 +08:00
|
|
|
[package]
|
2024-10-19 18:10:02 +08:00
|
|
|
name = "easytier-web"
|
2024-09-18 21:55:28 +08:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
2024-10-26 00:04:22 +08:00
|
|
|
easytier = { path = "../easytier" }
|
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
|
|
|
anyhow = { version = "1.0" }
|
|
|
|
thiserror = "1.0"
|
|
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
dashmap = "6.1"
|
|
|
|
url = "2.2"
|
|
|
|
async-trait = "0.1"
|
2024-11-02 15:13:19 +08:00
|
|
|
|
2024-10-26 00:04:22 +08:00
|
|
|
axum = { version = "0.7", features = ["macros"] }
|
2024-11-02 15:13:19 +08:00
|
|
|
axum-login = { version = "0.16" }
|
|
|
|
password-auth = { version = "1.0.0" }
|
|
|
|
axum-messages = "0.7.0"
|
|
|
|
tower-sessions-sqlx-store = { version = "0.14.1", features = ["sqlite"] }
|
|
|
|
tower-sessions = { version = "0.13.0", default-features = false, features = [
|
|
|
|
"signed",
|
|
|
|
] }
|
|
|
|
tower-http = { version = "0.6", features = ["cors"] }
|
|
|
|
sqlx = { version = "0.8", features = ["sqlite"] }
|
|
|
|
sea-orm = { version = "1.1", features = [ "sqlx-sqlite", "runtime-tokio-rustls", "macros" ] }
|
|
|
|
sea-orm-migration = { version = "1.1" }
|
|
|
|
|
|
|
|
|
|
|
|
# for captcha
|
|
|
|
rust-embed = { version = "8.5.0", features = ["debug-embed"] }
|
|
|
|
base64 = "0.22"
|
|
|
|
rand = "0.8"
|
|
|
|
image = {version="0.24", default-features = false, features = ["png"]}
|
|
|
|
rusttype = "0.9.3"
|
|
|
|
imageproc = "0.23.0"
|
|
|
|
|
|
|
|
|
2024-10-26 00:04:22 +08:00
|
|
|
clap = { version = "4.4.8", features = [
|
|
|
|
"string",
|
|
|
|
"unicode",
|
|
|
|
"derive",
|
|
|
|
"wrap_help",
|
|
|
|
] }
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2024-11-10 11:06:58 +08:00
|
|
|
serde_json = "1.0"
|
2024-10-26 00:04:22 +08:00
|
|
|
uuid = { version = "1.5.0", features = [
|
|
|
|
"v4",
|
|
|
|
"fast-rng",
|
|
|
|
"macro-diagnostics",
|
|
|
|
"serde",
|
|
|
|
] }
|