# 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 = "powdb-server"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async TCP server for PowDB with binary wire protocol"
readme = false
license = "MIT"
repository = "https://github.com/zvndev/powdb"

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

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

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

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

[dependencies.bytes]
version = "1"

[dependencies.powdb-query]
version = "0.2.0"

[dependencies.powdb-storage]
version = "0.2.0"

[dependencies.rustls-pemfile]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "net",
    "io-util",
    "macros",
    "sync",
    "time",
    "signal",
]

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tracing]
version = "0.1"

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