# 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 = "moltendb-server"
version = "0.3.0-beta.5"
authors = ["Maximilian Both <maximilian.both27@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MoltenDB HTTP server — Axum routing, TLS, auth, rate limiting, CORS."
readme = "README.md"
license-file = "LICENSE.md"
repository = "https://github.com/maximilian27/MoltenDB"
resolver = "2"

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

[[bin]]
name = "moltendb"
path = "src/main.rs"
test = false

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

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

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

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

[dependencies.argon2]
version = "0.5"

[dependencies.axum]
version = "0.8.8"
features = ["ws"]

[dependencies.axum-server]
version = "0.8.0"
features = ["tls-rustls"]

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1.3.3"

[dependencies.chacha20poly1305]
version = "0.10"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.dashmap]
version = "6.1.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.memmap2]
version = "0.9"

[dependencies.moltendb-auth]
version = "0.3.0-beta.5"

[dependencies.moltendb-core]
version = "0.3.0-beta.5"

[dependencies.rand_core]
version = "0.6"
features = ["std"]

[dependencies.regex]
version = "1.12.3"

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

[dependencies.serde_json]
version = "1.0.149"

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

[dependencies.tokio-tungstenite]
version = "0.28.0"

[dependencies.tower]
version = "0.5.3"

[dependencies.tower-http]
version = "0.6.8"
features = [
    "limit",
    "set-header",
    "cors",
]

[dependencies.tracing]
version = "0.1.44"

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

[dependencies.uuid]
version = "1.22"
features = [
    "v7",
    "serde",
]

[dependencies.web-time]
version = "1.0.0"

[dev-dependencies.colored]
version = "2"

[dev-dependencies.indicatif]
version = "0.17"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "json",
    "native-tls",
]
