-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (49 loc) · 1.52 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "ldap_authz_proxy"
version = "0.3.1"
edition = "2021"
description = "LDAP authorization proxy for authenticated HTTP users"
homepage = "https://github.com/elonen/ldap_authz_proxy"
license = "MIT"
readme = "README.md"
[package.metadata.deb]
maintainer = "Jarno Elonen <[email protected]>"
copyright = "2023, Jarno Elonen <[email protected]>"
section = "unknown"
changelog = "debian/changelog"
depends = "$auto"
extended-description = """\
LDAP authorization server/proxy for use with (e.g.) Nginx.
Extracts usernames from HTTP headers and performs LDAP queries
to authorize them agains Active Directory or other user databases.
"""
maintainer-scripts = "debian"
assets = [
["target/release/ldap_authz_proxy", "usr/bin/", "755"],
["README.md", "usr/share/doc/ldap_authz_proxy/README", "644"],
["test/nginx-site.conf", "usr/share/doc/ldap_authz_proxy/examples/", "644"],
["example.ini", "etc/ldap_authz_proxy.conf", "640"],
]
conf-files = ["/etc/ldap_authz_proxy.conf"]
systemd-units = { enable = false }
[[bin]]
name = "ldap_authz_proxy"
path = "src/main.rs"
[profile.release]
lto = true
[dependencies]
anyhow = "1.0.68"
async-recursion = "1.0.2"
docopt = "1.1.1"
hyper = { version = "0.14.23", features = ["full"] }
ldap3 = "0.11.1"
lru_time_cache = "0.11.11"
rand = "0.8.5"
regex = "1.7.1"
rust-ini = "0.18.0"
secrecy = "0.8.0"
sha2 = "0.10.6"
tokio = { version = "1.24.2", features = ["full"] }
tracing = "0.1.37"
tracing-appender = "0.2.2"
tracing-subscriber = {version = "0.3.16", features = ["env-filter", "json"] }