authkestra-engine 0.3.3

Unified authentication engine for the authkestra framework
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 = "2021"
name = "authkestra-engine"
version = "0.3.3"
build = false
exclude = [
    "/Cargo.lock",
    "tests/**/*",
    "examples/**/*",
    ".github/**/*",
    "docs/**/*",
    "website/**/*",
    "benches/**/*",
    ".gitignore",
    ".agents/**/*",
    "plans/**/*",
    "AGENTS.md",
    "docker-compose.yml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified authentication engine for the authkestra framework"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/marcjazz/authkestra"

[features]
captcha = []
default = [
    "token",
    "rustls-aws-lc-rs",
]
memory = []
redis = ["dep:redis"]
rustls-aws-lc-rs = ["reqwest/rustls"]
rustls-no-provider = ["reqwest/rustls-no-provider"]
session = []
sql-mysql = [
    "sqlx/mysql",
    "sqlx/chrono",
    "sqlx/runtime-tokio-rustls",
    "sqlx/json",
]
sql-postgres = [
    "sqlx/postgres",
    "sqlx/chrono",
    "sqlx/runtime-tokio-rustls",
    "sqlx/json",
]
sql-sqlite = [
    "sqlx/sqlite",
    "sqlx/chrono",
    "sqlx/runtime-tokio-rustls",
    "sqlx/json",
]
token = []
totp = ["dep:totp-rs"]
webauthn = ["dep:webauthn-rs"]

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

[dependencies.aes-gcm]
version = "0.10.3"

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

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.http]
version = "1"

[dependencies.jsonwebtoken]
version = "11"
features = ["rust_crypto"]

[dependencies.rand]
version = "0.9.2"

[dependencies.redis]
version = "0.27"
features = ["tokio-comp"]
optional = true

[dependencies.reqwest]
version = "0.13.1"
features = [
    "json",
    "form",
    "charset",
    "http2",
    "system-proxy",
]
default-features = false

[dependencies.rsa]
version = "0.9.6"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlx]
version = "0.8.2"
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.totp-rs]
version = "5.7"
features = [
    "gen_secret",
    "otpauth",
]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.0"
features = ["v4"]

[dependencies.webauthn-rs]
version = "0.5.0"
features = ["danger-allow-state-serialisation"]
optional = true

[dev-dependencies.actix-files]
version = "0.6"

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.redis]
version = "0.27"
features = ["tokio-comp"]

[dev-dependencies.reqwest]
version = "0.13"
features = ["json"]
default-features = false

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "sqlite",
]

[dev-dependencies.testcontainers]
version = "0.27.3"

[dev-dependencies.testcontainers-modules]
version = "0.15.0"
features = [
    "mysql",
    "postgres",
    "redis",
]

[dev-dependencies.tower-http]
version = "0.6"
features = ["fs"]

[dev-dependencies.wiremock]
version = "0.6.5"