feat: Implement basic (dummy) admin auth
This commit is contained in:
parent
b37c0665d3
commit
8c29f1d31f
13 changed files with 706 additions and 5 deletions
|
|
@ -6,11 +6,15 @@ edition = "2024"
|
|||
[dependencies]
|
||||
argh = "0.1.19"
|
||||
axum = { version = "0.8.9", optional = true }
|
||||
axum-extra = { version = "0.12.6", features = ["cookie"], optional = true }
|
||||
camino = "1.2.5"
|
||||
dn_escape = { path = "vendor/dn_escape" }
|
||||
futures-util = { version = "0.3.34", features = ["sink"] }
|
||||
http = { version = "1.5.0", optional = true }
|
||||
ldap3_proto = "0.8.1"
|
||||
minijinja = { version = "2.24.0", optional = true }
|
||||
serde = { version = "1.0.229", features = ["derive"] }
|
||||
static-serve = { version = "0.6.3", optional = true }
|
||||
tokio = { version = "1.53.1", features = ["macros", "net", "rt", "time", "sync"] }
|
||||
tokio-util = { version = "0.7.19", features = ["codec"] }
|
||||
tower = "0.5.3"
|
||||
|
|
@ -27,4 +31,4 @@ style = "deny"
|
|||
|
||||
[features]
|
||||
default = [ "http" ]
|
||||
http = ["dep:axum"]
|
||||
http = ["dep:axum", "dep:axum-extra", "dep:http", "dep:minijinja", "dep:static-serve"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue