# 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-store"
version = "0.29.11"
authors = ["nabbisen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Persistence layer (SQLite + field-level encryption) for sui-id, a self-hosted Rust OIDC provider."
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_store"
path = "src/lib.rs"

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

[dependencies.chacha20poly1305]
version = "0.10"

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

[dependencies.rand]
version = "0.8"

[dependencies.rand_core]
version = "0.6"
features = ["std"]

[dependencies.rusqlite]
version = "0.32"
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-shared]
version = "0.29.11"

[dependencies.thiserror]
version = "1.0"

[dependencies.tracing]
version = "0.1"

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

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

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

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

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

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