# 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 = "hermes-broker-server"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hermes gRPC broker server with fanout, queue groups, and durable delivery."
homepage = "https://github.com/GodlyJaaaj/hermes-rs"
documentation = "https://docs.rs/hermes-broker-server"
readme = "README.md"
keywords = [
    "messaging",
    "broker",
    "grpc",
    "pubsub",
    "queue",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/GodlyJaaaj/hermes-rs"

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

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

[[bench]]
name = "engine_benchmarks"
path = "benches/engine_benchmarks.rs"
harness = false

[dependencies.dashmap]
version = "6"

[dependencies.hermes-core]
version = "0.2.0"
package = "hermes-broker-core"

[dependencies.hermes-proto]
version = "0.2.0"
package = "hermes-broker-proto"

[dependencies.hermes-store]
version = "0.2.0"
package = "hermes-broker-store"

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

[dependencies.tokio-stream]
version = "0.1"

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

[dependencies.tonic]
version = "0.14"

[dependencies.tonic-reflection]
version = "0.14"

[dependencies.tracing]
version = "0.1"

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

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

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

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

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

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