[dependencies.bytes]
version = "1"
[dependencies.cross-krb5]
optional = true
version = "0.4"
[dependencies.futures]
version = "0.3"
[dependencies.log]
version = "0.4"
[dependencies.native-tls]
optional = true
version = "0.2"
[dependencies.once_cell]
version = "1"
[dependencies.parking_lot]
version = "0.12"
[dependencies.pest]
version = "2"
[dependencies.pest_derive]
version = "2"
[dependencies.rasn]
version = "0.22"
[dependencies.rasn-ldap]
version = "0.22"
[dependencies.regex]
version = "1"
[dependencies.rustls]
default-features = false
features = ["ring", "tls12"]
optional = true
version = "0.23"
[dependencies.rustls-native-certs]
optional = true
version = "0.8"
[dependencies.rustls-pki-types]
optional = true
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
features = ["net", "time", "rt-multi-thread"]
version = "1"
[dependencies.tokio-native-tls]
optional = true
version = "0.3"
[dependencies.tokio-rustls]
default-features = false
features = ["ring", "tls12"]
optional = true
version = "0.26"
[dependencies.tokio-util]
features = ["codec"]
version = "0.7"
[dev-dependencies.pretty_env_logger]
version = "0.5"
[dev-dependencies.tokio]
features = ["rt-multi-thread", "macros"]
version = "1"
[[example]]
name = "bind"
path = "examples/bind.rs"
[[example]]
name = "modify"
path = "examples/modify.rs"
[[example]]
name = "root_dse"
path = "examples/root_dse.rs"
[[example]]
name = "search_paged_tls"
path = "examples/search_paged_tls.rs"
[[example]]
name = "search_start_tls"
path = "examples/search_start_tls.rs"
[features]
default = ["tls-native-tls"]
gssapi = ["dep:cross-krb5"]
tls-native-tls = ["dep:native-tls", "dep:tokio-native-tls"]
tls-rustls = ["dep:rustls", "dep:tokio-rustls", "dep:rustls-native-certs", "dep:rustls-pki-types"]
[lib]
name = "ldap_rs"
path = "src/lib.rs"
[package]
authors = ["Dmitry Pankratov <dmitry@pankratov.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "LDAP client for Rust"
documentation = "https://docs.rs/ldap-rs"
edition = "2021"
keywords = ["ldap", "client"]
license = "MIT/Apache-2.0"
name = "ldap-rs"
readme = "README.md"
repository = "https://github.com/ancwrd1/ldap-rs"
version = "0.5.1"
[package.metadata.docs.rs]
features = ["tls-rustls", "tls-native-tls"]