llldap/Cargo.toml

45 lines
1.5 KiB
TOML
Raw Normal View History

2026-09-01 15:27:28 +02:00
[package]
name = "llldap"
version = "0.1.0"
edition = "2024"
[dependencies]
argh = "0.1.19"
async-trait = "0.1.92"
axum = { version = "0.8.9", optional = true, features = ["macros"] }
axum-extra = { version = "0.12.6", features = ["cookie"], optional = true }
2026-09-19 14:17:41 +02:00
camino = { version = "1.2.5", features = ["serde1"] }
2026-09-01 21:18:19 +02:00
dn_escape = { path = "vendor/dn_escape" }
futures-util = { version = "0.3.34", features = ["sink"] }
http = { version = "1.5.0", optional = true }
2026-09-01 15:27:28 +02:00
ldap3_proto = "0.8.1"
minijinja = { version = "2.24.0", optional = true }
minijinja-embed = { version = "2.24.0", optional = true }
2026-09-01 15:27:28 +02:00
serde = { version = "1.0.229", features = ["derive"] }
2026-09-19 14:17:41 +02:00
serde_json = "1.0.151"
static-serve = { version = "0.6.3", optional = true }
2026-09-01 15:27:28 +02:00
tokio = { version = "1.53.1", features = ["macros", "net", "rt", "time", "sync"] }
tokio-util = { version = "0.7.19", features = ["codec"] }
2026-09-03 21:50:32 +02:00
tower = "0.5.3"
tower-http = { version = "0.7.1", features = ["fs"], optional = true }
2026-09-01 15:27:28 +02:00
tracing = "0.1.44"
tracing-subscriber = "0.3.23"
uuid = { version = "1.26.0", features = ["v4"] }
[lints.clippy]
suspicious = "deny"
complexity = "deny"
pedantic = "deny"
perf = "deny"
style = "deny"
2026-09-03 21:50:32 +02:00
[features]
default = [ "http", "noembed" ]
# Embed assets and templates in binary
embed = [ "dep:minijinja-embed", "dep:static-serve" ]
# Don't embed assets and templates in binary
noembed = [ "dep:tower-http" ]
http = ["dep:axum", "dep:axum-extra", "dep:http", "dep:minijinja"]
[build-dependencies]
minijinja-embed = { version = "2.24.0", optional = true }