52 lines
1.1 KiB
TOML
52 lines
1.1 KiB
TOML
|
[package]
|
||
|
name = "http_server"
|
||
|
edition = "2021"
|
||
|
|
||
|
[dependencies]
|
||
|
kernel = { path = "../kernel" }
|
||
|
utils = { path = "../utils" }
|
||
|
|
||
|
# common
|
||
|
log = { workspace = true }
|
||
|
env_logger = { workspace = true }
|
||
|
|
||
|
strum = { workspace = true }
|
||
|
strum_macros = { workspace = true }
|
||
|
|
||
|
anyhow = { workspace = true }
|
||
|
fully_pub = { workspace = true }
|
||
|
|
||
|
tokio = { workspace = true }
|
||
|
|
||
|
# Web
|
||
|
axum = { version = "0.7.7", features = ["json", "multipart"] }
|
||
|
axum-extra = { version = "0.9.4", features = ["cookie"] }
|
||
|
axum-template = { version = "2.4.0", features = ["minijinja"] }
|
||
|
axum_typed_multipart = "0.13.1"
|
||
|
minijinja = { version = "2.1", features = ["builtins"] }
|
||
|
# to make work the static assets server
|
||
|
tower-http = { version = "0.6.1", features = ["fs"] }
|
||
|
|
||
|
minijinja-embed = "2.3.1"
|
||
|
axum-macros = "0.4.2"
|
||
|
jsonwebtoken = "9.3.0"
|
||
|
time = "0.3.36"
|
||
|
|
||
|
serde = { workspace = true }
|
||
|
serde_json = { workspace = true }
|
||
|
serde_urlencoded = "0.7.1"
|
||
|
chrono = { workspace = true }
|
||
|
|
||
|
argh = { workspace = true }
|
||
|
|
||
|
sqlx = { workspace = true }
|
||
|
uuid = { workspace = true }
|
||
|
url = { workspace = true }
|
||
|
|
||
|
[build-dependencies]
|
||
|
minijinja-embed = "2.3.1"
|
||
|
|
||
|
[[bin]]
|
||
|
name = "minauthator-server"
|
||
|
path = "src/main.rs"
|