# 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"
rust-version = "1.91"
name = "sui-id"
version = "0.76.6"
authors = ["nabbisen"]
build = false
include = [
    "src/**/*",
    "tests/**/*",
    "static/**/*",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Self-hosted, single-binary OpenID Connect provider in Rust. Install with `cargo install sui-id`."
homepage = "https://github.com/nabbisen/sui-id"
readme = "README.md"
keywords = [
    "oidc",
    "oauth2",
    "idaas",
    "identity",
    "authentication",
]
categories = [
    "authentication",
    "web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://github.com/nabbisen/sui-id"

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

[[bin]]
name = "sui-id"
path = "src/main.rs"

[[test]]
name = "e2e"
path = "tests/e2e/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.argon2]
version = "0.5"

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

[dependencies.axum-extra]
version = "0.12"
features = ["cookie"]

[dependencies.base64ct]
version = "1.6"
features = ["alloc"]

[dependencies.chacha20poly1305]
version = "0.10"

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

[dependencies.cookie]
version = "0.18"

[dependencies.getrandom]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.hyper]
version = "1.4"

[dependencies.include_dir]
version = "0.7"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.prometheus]
version = "0.13"
default-features = false

[dependencies.qrcode]
version = "0.14"
features = ["svg"]
default-features = false

[dependencies.rand]
version = "0.10"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
default-features = false

[dependencies.rusqlite]
version = "0.39"
features = [
    "bundled",
    "chrono",
]

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2.6"

[dependencies.sui-id-core]
version = "0.76.6"

[dependencies.sui-id-i18n]
version = "0.76.6"

[dependencies.sui-id-shared]
version = "0.76.6"

[dependencies.sui-id-store]
version = "0.76.6"

[dependencies.sui-id-web]
version = "0.76.6"

[dependencies.tempfile]
version = "3.13"

[dependencies.thiserror]
version = "2.0"

[dependencies.time]
version = "0.3"

[dependencies.tokio]
version = "1.40"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "fs",
    "sync",
    "time",
]

[dependencies.toml]
version = "0.8"

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "trace",
    "compression-gzip",
    "set-header",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "json",
]

[dependencies.url]
version = "2.5"
features = ["serde"]

[dependencies.uuid]
version = "1.10"
features = [
    "v4",
    "serde",
]

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

[dependencies.zeroize]
version = "1.8"
features = ["derive"]

[dev-dependencies.base64ct]
version = "1.6"
features = ["alloc"]

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

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

[dev-dependencies.percent-encoding]
version = "2.3"

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
default-features = false

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.sui-id-core]
version = "0.76.6"
features = ["test-support"]

[dev-dependencies.sui-id-store]
version = "0.76.6"

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

[dev-dependencies.tokio]
version = "1.40"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "fs",
    "sync",
    "time",
]

[dev-dependencies.tower]
version = "0.5"

[dev-dependencies.url]
version = "2.5"
features = ["serde"]

[lints.clippy]
expect_used = "warn"
panic = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "forbid"
unused_must_use = "deny"
