# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "ldap-types"
version = "0.4.4"
authors = ["Matthias Hörmann <mhoermann@gmail.com>"]
build = false
exclude = [
    ".env",
    "tarpaulin-report.html",
    "tarpaulin-report.json",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implements the basic LDAP types so they can be used in other crates"
readme = "README.md"
keywords = [
    "ldap",
    "schema",
    "filter",
]
categories = [
    "data-structures",
    "parsing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/taladar/ldap-types"

[profile.release]
debug = 2

[lib]
name = "ldap_types"
path = "src/lib.rs"

[dependencies.ariadne]
version = "0.5.0"
optional = true

[dependencies.chumsky]
version = "0.9.3"
optional = true

[dependencies.diff-struct]
version = "0.5.3"
optional = true

[dependencies.educe]
version = "0.6.0"
features = [
    "Hash",
    "PartialEq",
    "Eq",
]
default-features = false

[dependencies.enum-as-inner]
version = "0.6.1"

[dependencies.hex]
version = "0.4.3"

[dependencies.itertools]
version = "0.13.0"
optional = true

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.ldap3]
version = "0.11.5"
optional = true

[dependencies.oid]
version = "0.2.1"

[dependencies.serde]
version = "1.0.214"
features = ["derive"]
optional = true

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.serde_json]
version = "1.0.132"

[features]
chumsky = [
    "dep:chumsky",
    "dep:ariadne",
    "dep:itertools",
]
default = [
    "chumsky",
    "serde",
    "diff",
    "ldap3",
]
diff = ["dep:diff-struct"]
ldap3 = ["dep:ldap3"]
serde = [
    "dep:serde",
    "oid/serde_support",
]
