fortress-api-server 1.0.1

REST API server for Fortress secure database system
# 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.70"
name = "fortress-api-server"
version = "1.0.1"
authors = ["Genius740Code"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "REST API server for Fortress secure database system"
homepage = "https://fortressdb.io"
documentation = "https://fortressdb.io/docs"
readme = "README.md"
keywords = [
    "database",
    "encryption",
    "security",
    "api",
    "rest",
]
categories = [
    "database",
    "web-programming",
    "cryptography",
]
license = "MIT"
repository = "https://github.com/Genius740Code/Fortress"

[features]
default = []
dev = ["tracing-subscriber/env-filter"]

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

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

[[bin]]
name = "generate-proto"
path = "src/bin/generate-proto.rs"

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

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

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

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

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

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

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

[[bench]]
name = "rate_limit_benchmark"
path = "benches/rate_limit_benchmark.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.argon2]
version = "0.5"

[dependencies.async-graphql]
version = "7.0"
features = [
    "chrono",
    "uuid",
]

[dependencies.async-graphql-axum]
version = "7.0"

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

[dependencies.axum]
version = "0.7"
features = [
    "multipart",
    "macros",
]

[dependencies.base64]
version = "0.21"

[dependencies.bytes]
version = "1.5"

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

[dependencies.config]
version = "0.13"

[dependencies.dashmap]
version = "5.5"

[dependencies.fortress-core]
version = "1.0.1"

[dependencies.futures]
version = "0.3"

[dependencies.futures-util]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1.0"

[dependencies.hyper]
version = "1.0"
features = ["full"]

[dependencies.jsonwebtoken]
version = "9.2"

[dependencies.lazy_static]
version = "1.4"

[dependencies.metrics]
version = "0.21"

[dependencies.metrics-exporter-prometheus]
version = "0.12"

[dependencies.once_cell]
version = "1.19"

[dependencies.parking_lot]
version = "0.12"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.prometheus]
version = "0.13"

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1.10"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

[dependencies.tower]
version = "0.4"
features = ["full"]

[dependencies.tower-http]
version = "0.5"
features = [
    "cors",
    "trace",
    "compression-br",
    "timeout",
]

[dependencies.tower-service]
version = "0.3"

[dependencies.tracing]
version = "0.1"

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

[dependencies.utoipa]
version = "4.0"
features = [
    "axum_extras",
    "chrono",
    "uuid",
]

[dependencies.utoipa-swagger-ui]
version = "4.0"
features = ["axum"]

[dependencies.uuid]
version = "1.6"
features = [
    "v4",
    "serde",
    "fast-rng",
]

[dependencies.zeroize]
version = "1.7"
features = ["zeroize_derive"]

[dev-dependencies.criterion]
version = "0.5"
features = [
    "html_reports",
    "async_tokio",
]

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

[dev-dependencies.test-case]
version = "3.3"

[dev-dependencies.tower-test]
version = "0.4"

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