# 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 = "hydra"
version = "0.1.21"
description = "A framework for writing fault tolerant, highly scalable applications with the Rust programming language."
readme = "README.md"
keywords = [
    "erlang",
    "elixir",
    "actors",
]
categories = [
    "asynchronous",
    "concurrency",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/dtzxporter/hydra"

[dependencies.bincode]
version = "2.0.0-rc.3"

[dependencies.bitflags]
version = "2.4"

[dependencies.bytes]
version = "1.0"
default-features = false

[dependencies.flume]
version = "0.11"

[dependencies.futures-util]
version = "0.3"
features = [
    "std",
    "sink",
]
default-features = false

[dependencies.hmac]
version = "0.12"

[dependencies.hydra-dashmap]
version = "0.1.21"

[dependencies.hydra-macros]
version = "0.1.21"
optional = true

[dependencies.once_cell]
version = "1.19"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.pingora-timeout]
version = "0.2"

[dependencies.rmp-serde]
version = "1.3"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "std",
]
default-features = false

[dependencies.sha2]
version = "0.10"

[dependencies.tokio]
version = "1.0"
features = [
    "rt",
    "rt-multi-thread",
    "net",
    "sync",
    "time",
    "macros",
    "signal",
]
default-features = false

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

[dependencies.tracing]
version = "0.1"
features = ["std"]
optional = true
default-features = false

[dependencies.tracing-subscriber]
version = "0.3"
optional = true

[features]
default = [
    "macros",
    "tracing",
]
macros = ["dep:hydra-macros"]
tracing = [
    "dep:tracing",
    "dep:tracing-subscriber",
]
