[package]
name = "dynomite-engine"
description = "Embeddable Dynamo-style distributed replication engine: token-ring partitioning, gossip cluster, hinted handoff, anti-entropy, RediSearch FT.* surface."
version = "0.0.3"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
authors.workspace = true
homepage = "https://github.com/gburd/dynomite"
documentation = "https://docs.rs/dynomite"
readme = "README.md"
keywords = ["dynamo", "distributed", "cluster", "replication", "redis"]
categories = ["database-implementations", "network-programming", "concurrency"]
include = [
"/src/**/*.rs",
"/examples/**/*.rs",
"/Cargo.toml",
"/README.md",
]
[package.metadata.docs.rs]
all-features = false
targets = ["x86_64-unknown-linux-gnu"]
[lints]
workspace = true
[lib]
name = "dynomite"
path = "src/lib.rs"
[dependencies]
tokio = { workspace = true }
tokio-util = { workspace = true }
bytes = { workspace = true }
futures-core = { workspace = true }
serde = { workspace = true }
serde_yaml = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
thiserror = { workspace = true }
crossbeam-channel = { workspace = true }
crossbeam-queue = { workspace = true }
parking_lot = { workspace = true }
ahash = { workspace = true }
quiche = { workspace = true, optional = true }
aes = { workspace = true }
cbc = { workspace = true }
cipher = { workspace = true }
rsa = { workspace = true }
sha1 = { workspace = true }
rand = { workspace = true }
rand_core = { workspace = true }
base64 = { workspace = true }
nix = { workspace = true }
socket2 = { workspace = true }
httparse = { workspace = true }
prometheus = { workspace = true }
rustls = { workspace = true }
tokio-rustls = { workspace = true }
rustls-pemfile = { workspace = true }
webpki-roots = { workspace = true }
noxu = { workspace = true, optional = true }
tracing-opentelemetry = { workspace = true }
opentelemetry = { workspace = true }
time = { workspace = true }
throttle-core = { path = "../throttle-core", version = "0.0.1" }
serde_json = { workspace = true }
[dev-dependencies]
hegeltest = { workspace = true }
criterion = { workspace = true }
tempfile = { workspace = true }
hex = { workspace = true }
tokio = { workspace = true, features = ["full", "test-util"] }
rcgen = { workspace = true }
regex = { workspace = true }
[features]
default = ["tcp", "tls"]
tcp = []
quic = ["dep:quiche"]
tls = []
riak-storage = ["dep:noxu"]
bench-macro = []
chaos = []
[[bench]]
name = "parsers"
harness = false
[[bench]]
name = "mbuf"
harness = false
[[bench]]
name = "hashkit"
harness = false
[[bench]]
name = "random_slicing"
harness = false
[[bench]]
name = "tokens"
harness = false
[[bench]]
name = "dnode"
harness = false
[[bench]]
name = "crypto"
harness = false
[[bench]]
name = "quorum"
harness = false
[[bench]]
name = "macro_throughput"
harness = false