[package]
edition = "2024"
rust-version = "1.85"
name = "entropy-auth"
version = "2026.7.31"
authors = ["Entropy Softworks"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Authentication and authorization for Entropy Softworks server and API projects"
readme = "README.md"
keywords = [
"authentication",
"oauth",
"security",
"api-key",
"session",
]
categories = [
"authentication",
"web-programming",
]
license = "MIT"
repository = "https://gitlab.com/entropysoftworks/crates/auth"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
asym-jwt = [
"dep:ed25519-dalek",
"dep:p256",
"dep:rsa",
"dep:sha2",
]
default = []
ldap = []
oidc = ["asym-jwt"]
policy = []
saml = []
scim = []
ssh-keys = []
[lib]
name = "entropy_auth"
path = "src/lib.rs"
[[test]]
name = "api_auth_api"
path = "tests/api_auth_api.rs"
[[test]]
name = "crypto_vectors"
path = "tests/crypto_vectors.rs"
[[test]]
name = "oauth_api"
path = "tests/oauth_api.rs"
[[test]]
name = "oauth_server_api"
path = "tests/oauth_server_api.rs"
[[test]]
name = "password_api"
path = "tests/password_api.rs"
[[test]]
name = "public_api"
path = "tests/public_api.rs"
[[test]]
name = "webauthn_api"
path = "tests/webauthn_api.rs"
[dependencies.aes-gcm]
version = "0.10"
features = ["zeroize"]
[dependencies.argon2]
version = "0.5"
[dependencies.ed25519-dalek]
version = "2"
optional = true
default-features = false
[dependencies.p256]
version = "0.13"
features = [
"ecdsa",
"std",
]
optional = true
default-features = false
[dependencies.rand_core]
version = "0.6"
features = [
"std",
"getrandom",
]
[dependencies.rsa]
version = "0.9"
features = ["std"]
optional = true
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
features = ["oid"]
optional = true
default-features = false
[dependencies.tracing]
version = "0.1"
[dependencies.webauthn-rs]
version = "0.5"
features = ["danger-allow-state-serialisation"]
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"