[package]
edition = "2024"
rust-version = "1.85"
name = "umbral-auth"
version = "0.0.2"
authors = ["Dalmas Ogembo <dalmasogembo@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Authentication plugin for umbral: User model, argon2 password hashing, login helpers."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/dalmasonto/umbral"
[lib]
name = "umbral_auth"
path = "src/lib.rs"
[[test]]
name = "custom_user"
path = "tests/custom_user.rs"
[[test]]
name = "identity_superuser"
path = "tests/identity_superuser.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "login_required"
path = "tests/login_required.rs"
[[test]]
name = "password_async"
path = "tests/password_async.rs"
[[test]]
name = "password_validation"
path = "tests/password_validation.rs"
[[test]]
name = "password_validation_disabled"
path = "tests/password_validation_disabled.rs"
[[test]]
name = "throttle"
path = "tests/throttle.rs"
[[test]]
name = "user_context_lazy"
path = "tests/user_context_lazy.rs"
[[test]]
name = "uuid_user"
path = "tests/uuid_user.rs"
[dependencies.argon2]
version = "0.5"
features = ["std"]
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
[dependencies.axum-core]
version = "0.5"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
[dependencies.http]
version = "1"
[dependencies.rand]
version = "0.8"
[dependencies.rpassword]
version = "7"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlx]
version = "0.8"
features = [
"sqlite",
"runtime-tokio",
"chrono",
]
[dependencies.tokio]
version = "1"
features = ["rt"]
[dependencies.tower]
version = "0.5"
[dependencies.tracing]
version = "0.1"
[dependencies.umbral]
version = "0.0.2"
[dependencies.umbral-sessions]
version = "0.0.2"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]
[dev-dependencies.http]
version = "1"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.sha2]
version = "0.10"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"rt-multi-thread",
"sync",
"time",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[dev-dependencies.uuid]
version = "1"
features = ["v4"]