runegate 0.4.0

Lightweight Rust-based identity proxy
# 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 = "runegate"
version = "0.4.0"
authors = ["Hans Van Wesenbeeck <hvw@aivolution.ch>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight Rust-based identity proxy"
homepage = "https://github.com/a1v0lut10n/runegate"
readme = "README.md"
keywords = [
    "authentication",
    "identity",
    "jwt",
    "rate-limiting",
    "proxy",
]
categories = [
    "authentication",
    "web-programming",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/a1v0lut10n/runegate"

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

[[bin]]
name = "runegate"
path = "src/main.rs"

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

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

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

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

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

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

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

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

[dependencies.actix-files]
version = "0.6.5"

[dependencies.actix-governor]
version = "0.10.0"

[dependencies.actix-session]
version = "0.11.0"
features = [
    "cookie-session",
    "redis-session-rustls",
]

[dependencies.actix-web]
version = "4.11.0"
features = ["cookies"]

[dependencies.anyhow]
version = "1.0"

[dependencies.awc]
version = "3.4.0"
features = ["openssl"]

[dependencies.constant_time_eq]
version = "0.5.0"

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.futures]
version = "0.3.30"

[dependencies.fxhash]
version = "0.2.1"

[dependencies.governor]
version = "0.10.1"

[dependencies.hex]
version = "0.4.3"

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

[dependencies.lettre]
version = "0.11.18"
features = [
    "smtp-transport",
    "tokio1",
    "builder",
    "tokio1-native-tls",
]

[dependencies.lru]
version = "0.17.0"

[dependencies.oauth2]
version = "5.0.0"

[dependencies.phenotyper]
version = "0.2.0"

[dependencies.rand]
version = "0.10.1"

[dependencies.reqwest]
version = "0.12"
features = ["json"]

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

[dependencies.serde_json]
version = "1.0.143"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "json",
    "postgres",
    "runtime-tokio-rustls",
    "uuid",
]

[dependencies.toml]
version = "1.1.2"

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

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-actix-web]
version = "0.7.19"

[dependencies.tracing-bunyan-formatter]
version = "0.3.9"

[dependencies.tracing-log]
version = "0.2.0"

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

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

[dependencies.webauthn-rs]
version = "0.5.5"

[dev-dependencies.actix-test]
version = "0.1"

[dev-dependencies.jsonwebtoken]
version = "10.3.0"
features = ["rust_crypto"]

[dev-dependencies.reqwest]
version = "0.12"
features = ["json"]

[dev-dependencies.serde]
version = "1.0.219"
features = ["derive"]

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

[dev-dependencies.tokio]
version = "1.47.1"
features = ["full"]

[build-dependencies.phenotyper]
version = "0.2.0"

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true