doido-auth 0.0.20

Unified authentication for Doido — AuthUser trait, extractors, strategies, and auth generators.
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 = "doido-auth"
version = "0.0.20"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified authentication for Doido — AuthUser trait, extractors, strategies, and auth generators."
readme = false
license = "MIT"

[features]
auth-2fa = ["dep:totp-lite"]
default = ["generators"]
generators = []
mysql = ["doido-model/mysql"]
postgres = ["doido-model/postgres"]
sqlite = ["doido-model/sqlite"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.23"

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

[dependencies.doido-controller]
version = "0.0.20"

[dependencies.doido-core]
version = "0.0.20"

[dependencies.doido-model]
version = "0.0.20"
default-features = false

[dependencies.http]
version = "1"

[dependencies.jsonwebtoken]
version = "10"
features = ["aws_lc_rs"]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_norway]
version = "0.9"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
]

[dependencies.totp-lite]
version = "2"
optional = true

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"

[dependencies.ureq]
version = "3"
features = ["json"]

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

[dev-dependencies.doido-controller]
version = "0.0.20"
features = ["sqlite"]

[dev-dependencies.doido-model]
version = "0.0.20"
features = ["sqlite"]
default-features = false

[dev-dependencies.http]
version = "1"

[dev-dependencies.http-body-util]
version = "0.1"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.tower]
version = "0.5"
features = [
    "util",
    "util",
]