# 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"
name = "mogh_auth_server"
version = "1.5.0"
authors = ["moghtech <contact@mogh.tech>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implements the Mogh Auth Server embedded API."
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/moghtech/lib"
resolver = "2"

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

[dependencies.anyhow]
version = "1.0.102"

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

[dependencies.axum]
version = "0.8.9"
features = ["macros"]

[dependencies.bcrypt]
version = "0.19.1"

[dependencies.data-encoding]
version = "2.11.0"

[dependencies.jsonwebtoken]
version = "10.3.0"
features = ["aws_lc_rs"]

[dependencies.mogh_auth_client]
version = "1.5.0"
features = ["utoipa"]

[dependencies.mogh_error]
version = "1.0.4"
features = ["utoipa"]

[dependencies.mogh_pki]
version = "1.1.3"

[dependencies.mogh_rate_limit]
version = "1.0.1"

[dependencies.mogh_request_ip]
version = "1.0.1"

[dependencies.mogh_resolver]
version = "1.0.0"

[dependencies.mogh_validations]
version = "1.0.1"

[dependencies.openidconnect]
version = "4.0.1"
features = ["accept-rfc3339-timestamps"]

[dependencies.rand]
version = "0.10.1"

[dependencies.reqwest]
version = "0.13.3"
features = [
    "json",
    "query",
    "form",
    "rustls",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.149"

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

[dependencies.totp-rs]
version = "5.7.1"
features = [
    "qr",
    "serde_support",
]

[dependencies.tower-sessions]
version = "0.15.0"

[dependencies.tracing]
version = "0.1.44"

[dependencies.typeshare]
version = "1.0.5"

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.utoipa]
version = "5.5.0"

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

[dependencies.webauthn-rs]
version = "0.5.4"
features = ["danger-allow-state-serialisation"]
