# 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"
name = "sirr-server"
version = "1.0.52"
authors = ["Sirr Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sirr server library — axum HTTP server with redb storage and ChaCha20Poly1305 encryption"
homepage = "https://sirr.dev"
documentation = "https://sirr.dev/en/api-reference"
readme = false
keywords = [
    "secrets",
    "vault",
    "ephemeral",
    "axum",
    "encryption",
]
categories = [
    "cryptography",
    "web-programming::http-server",
]
license-file = "LICENSE"
repository = "https://github.com/sirrlock/sirr"

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.bincode]
version = "2"
features = ["serde"]

[dependencies.chacha20poly1305]
version = "0.10"

[dependencies.constant_time_eq]
version = "0.3"

[dependencies.directories]
version = "5"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.http]
version = "1"

[dependencies.ipnet]
version = "2"

[dependencies.rand]
version = "0.8"

[dependencies.redb]
version = "2"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1"

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

[dependencies.tower-http]
version = "0.6"
features = [
    "trace",
    "cors",
]

[dependencies.tower_governor]
version = "0.8"
features = ["axum"]
default-features = false

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.axum-test]
version = "19"

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

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

[dev-dependencies.wiremock]
version = "0.6"
