authvault 0.1.0

Authentication and authorization vault with multi-provider support
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"
rust-version = "1.75"
name = "authvault"
version = "0.1.0"
authors = ["Phenotype Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Authentication and authorization vault with multi-provider support"
documentation = "https://docs.rs/authvault"
readme = "README.md"
keywords = [
    "auth",
    "authentication",
    "authorization",
    "jwt",
    "oauth",
]
categories = [
    "authentication",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/KooshaPari/Authvault"

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

[[example]]
name = "serve"
path = "examples/serve.rs"

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

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

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

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

[[bench]]
name = "auth"
path = "benches/auth.rs"
harness = false

[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false

[[bench]]
name = "perf"
path = "benches/perf.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.argon2]
version = "0.5"

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

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.21"

[dependencies.bcrypt]
version = "0.19"

[dependencies.chacha20poly1305]
version = "0.10"

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

[dependencies.http]
version = "1"

[dependencies.jsonwebtoken]
version = "10"
features = [
    "use_pem",
    "rust_crypto",
]

[dependencies.rand]
version = "0.10"

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

[dependencies.redis]
version = "1.2"
features = [
    "tokio-comp",
    "connection-manager",
]

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-postgres]
version = "0.7"

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

[dependencies.tracing]
version = "0.1"

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

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

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

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.rcgen]
version = "0.14.7"

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

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

[profile.release]
lto = true