umbral-security 0.0.8

Security headers + CSRF middleware plugin for umbral.
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 = "2024"
rust-version = "1.85"
name = "umbral-security"
version = "0.0.8"
authors = ["Dalmas Ogembo <dalmasogembo@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Security headers + CSRF middleware plugin for umbral."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/dalmasonto/umbral"

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

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

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

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

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

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

[dependencies.axum]
version = "0.8"

[dependencies.getrandom]
version = "0.2"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.http]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2"

[dependencies.tower-http]
version = "0.6"
features = [
    "set-header",
    "limit",
    "sensitive-headers",
]

[dependencies.tracing]
version = "0.1"

[dependencies.umbral]
version = "0.0.8"

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

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

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

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "sync",
]

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