zvault-server 0.2.0

ZVault HTTP server — REST API, web dashboard, and system routes for the AI-native secrets manager
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 = "zvault-server"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ZVault HTTP server — REST API, web dashboard, and system routes for the AI-native secrets manager"
homepage = "https://zvault.cloud"
documentation = "https://docs.zvault.cloud"
readme = "README.md"
keywords = [
    "vault",
    "secrets",
    "server",
    "api",
    "encryption",
]
categories = [
    "web-programming::http-server",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/VanitasCaesar1/zvault"
resolver = "2"

[features]
default = [
    "rocksdb-backend",
    "spring-oauth",
]
postgres-backend = ["zvault-storage/postgres-backend"]
redb-backend = ["zvault-storage/redb-backend"]
rocksdb-backend = ["zvault-storage/rocksdb-backend"]
spring-oauth = [
    "dep:reqwest",
    "dep:sha2",
]

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

[[bin]]
name = "zvault-server"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"
features = ["macros"]

[dependencies.base64]
version = "0.22"

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

[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"
optional = true

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

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

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

[dependencies.tracing]
version = "0.1"

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

[dependencies.urlencoding]
version = "2"

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

[dependencies.zvault-core]
version = "0.2.0"

[dependencies.zvault-storage]
version = "0.2.0"
default-features = false

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "deny"