[package] authors = ["Ivan Nejgebauer ", "Sangwan Jeon "] description = "Pure-Rust LDAP Client with serde support" documentation = "https://docs.rs/ldap3-serde" keywords = ["ldap", "client", "tokio", "async"] license = "MIT/Apache-2.0" name = "ldap3-serde" readme = "README.md" repository = "https://github.com/maxswjeon/ldap3-serde" version = "0.11.5" edition = "2021" [dependencies] tokio = { version = "1.23.0", features = ["macros", "io-util", "sync", "time", "net"] } tokio-util = { version = "0.7.4", features = ["codec"] } tokio-stream = "0.1.11" bytes = "1.3.0" nom = "7.1.1" url = "2.3.1" futures = "0.3.25" percent-encoding = "2.2.0" futures-util = "0.3.25" log = "0.4.17" lazy_static = "1.4.0" thiserror = "1.0.38" native-tls = { version = "0.2.11", optional = true } tokio-native-tls = { version = "0.3.0", optional = true } rustls = { version = "0.22.2", optional = true } tokio-rustls = { version = "0.25.0", optional = true } rustls-native-certs = { version = "0.7.0", optional = true } x509-parser = { version = "0.15.0", optional = true } ring = { version = "0.17.7", optional = true } cross-krb5 = { version = "0.3.0", optional = true } async-trait = "0.1.60" serde = { version = "1.0.198", features = ["derive"], optional = true } [dependencies.lber-serde] path = "lber" version = "0.4.5" [features] default = ["sync", "tls"] tls = ["tls-native"] tls-native = ["native-tls", "tokio-native-tls", "tokio/rt"] tls-rustls = ["rustls", "tokio-rustls", "rustls-native-certs", "x509-parser", "ring", "tokio/rt"] sync = ["tokio/rt"] gssapi = ["cross-krb5"] serde = ["dep:serde", "lber-serde/serde"] [dev-dependencies] tokio = { version = "1", features = ["macros", "io-util", "sync", "time", "net", "rt-multi-thread"] } env_logger = "0.10.0" [package.metadata.docs.rs] default-features = false features = ["sync", "tls", "gssapi"] rustdoc-args = ["--cfg", "docsrs"] [workspace] members = [".", "lber"]