crabka-security 0.3.6

TLS, SASL, SCRAM, OAuth, and Kerberos security utilities for Crabka
Documentation
# 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 = "2024"
rust-version = "1.96.0"
name = "crabka-security"
version = "0.3.6"
authors = ["The Crabka Authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TLS, SASL, SCRAM, OAuth, and Kerberos security utilities for Crabka"
homepage = "https://github.com/robot-head/crabka"
documentation = "https://docs.rs/crabka-security"
readme = "README.md"
keywords = [
    "kafka",
    "tls",
    "sasl",
    "scram",
    "crabka",
]
categories = [
    "authentication",
    "cryptography",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/robot-head/crabka"
resolver = "2"

[features]
default = []
sspi-keytab = ["dep:sspi"]

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

[[example]]
name = "gssapi_spike"
path = "examples/gssapi_spike.rs"
required-features = ["sspi-keytab"]

[[test]]
name = "gssapi_provider"
path = "tests/gssapi_provider.rs"

[[bench]]
name = "scram"
path = "benches/scram.rs"
harness = false

[dependencies.arc-swap]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.hmac]
version = "0.13"

[dependencies.jsonpath-rust]
version = "1.0"

[dependencies.pbkdf2]
version = "=0.13.0-rc.10"
features = [
    "kdf",
    "hmac",
]
default-features = false

[dependencies.rcgen]
version = "0.14"
features = [
    "pem",
    "ring",
    "x509-parser",
]
default-features = false

[dependencies.regex]
version = "1"

[dependencies.ring]
version = "0.17"

[dependencies.rustls]
version = "0.23"
features = [
    "std",
    "tls12",
    "ring",
]
default-features = false

[dependencies.rustls-pki-types]
version = "1.14"
features = ["alloc"]

[dependencies.rustls-webpki]
version = "0.103"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.sspi]
version = "0.21"
features = [
    "network_client",
    "ring",
]
optional = true
default-features = false

[dependencies.strum]
version = "0.28"
features = ["derive"]

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "std",
    "formatting",
]
default-features = false

[dependencies.tokio]
version = "1"
features = ["sync"]
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.x509-parser]
version = "0.18"
features = ["verify"]

[dev-dependencies.assert2]
version = "0.4"

[dev-dependencies.criterion]
version = "4.6.0"
package = "codspeed-criterion-compat"

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "sync",
]
default-features = false

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"