[package] name = "llldap" version = "0.1.0" edition = "2024" [dependencies] argh = "0.1.19" axum = { version = "0.8.9", optional = true, features = ["macros"] } 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 } minijinja-embed = { 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" tower-http = { version = "0.7.1", features = ["fs"], optional = true } 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" [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 }