forked from inejge/ldap3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (58 loc) · 2.2 KB
/
Cargo.toml
File metadata and controls
64 lines (58 loc) · 2.2 KB
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
61
62
63
64
[package]
authors = ["Ivan Nejgebauer <inejge@gmail.com>"]
description = "Pure-Rust LDAP Client"
documentation = "https://docs.rs/ldap3"
keywords = ["ldap", "client", "tokio", "async"]
categories = ["authentication", "network-programming"]
license = "MIT/Apache-2.0"
name = "ldap3"
readme = "README.md"
repository = "https://github.com/inejge/ldap3"
version = "0.12.1"
edition = "2024"
[package.metadata.docs.rs]
default-features = false
features = ["sync", "tls", "gssapi", "ntlm"]
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
tokio = { version = "1.47.1", features = ["macros", "io-util", "sync", "time", "net"] }
tokio-util = { version = "0.7.16", features = ["codec"] }
tokio-stream = "0.1.17"
bytes = "1.10.1"
nom = "7.1.3"
url = "2.5.7"
futures = "0.3.31"
percent-encoding = "2.3.2"
futures-util = "0.3.31"
log = "0.4.28"
thiserror = "2.0.16"
native-tls = { version = "0.2.14", optional = true }
tokio-native-tls = { version = "0.3.1", optional = true }
rustls = { version = "0.23.31", optional = true, default-features = false, features = ["logging", "std", "tls12"] }
tokio-rustls = { version = "0.26.2", optional = true, default-features = false, features = ["logging", "tls12"] }
rustls-native-certs = { version = "0.8.1", optional = true }
x509-parser = { version = "0.18.0", optional = true }
ring = { version = "0.17.14", optional = true }
cross-krb5 = { version = "0.4.2", optional = true }
either = { version = "1.15.0", optional = true }
sspi = { version = "0.16.1", optional = true }
async-trait = "0.1.89"
[dependencies.lber]
path = "lber"
version = "0.5.1"
[features]
default = ["sync", "tls"]
tls = ["tls-native"]
tls-native = ["dep:native-tls", "dep:tokio-native-tls", "tokio/rt"]
tls-rustls = ["dep:rustls", "dep:tokio-rustls", "dep:rustls-native-certs", "dep:x509-parser", "tokio/rt"]
tls-rustls-ring = ["tls-rustls","rustls/ring","rustls-provider"]
tls-rustls-aws-lc-rs = ["tls-rustls","rustls/aws_lc_rs","rustls-provider"]
rustls-provider = []
sync = ["tokio/rt"]
gssapi = ["cross-krb5","dep:ring","dep:either"]
ntlm = ["sspi","dep:ring"]
[dev-dependencies]
tokio = { version = "1", features = ["macros", "io-util", "sync", "time", "net", "rt-multi-thread"] }
env_logger = "0.11.8"
[workspace]
members = [".", "lber"]