d-engine-server 0.2.3

Production-ready Raft consensus engine server and runtime
Documentation
# 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"
rust-version = "1.88"
name = "d-engine-server"
version = "0.2.3"
authors = ["Joshua Chi <joshokn@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production-ready Raft consensus engine server and runtime"
homepage = "https://github.com/deventlab/d-engine"
readme = "README.md"
keywords = [
    "raft",
    "consensus",
    "distributed-systems",
    "async",
]
categories = [
    "asynchronous",
    "concurrency",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/deventlab/d-engine"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "rocksdb",
    "watch",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.release]
tag = false

[features]
rocksdb = ["dep:rocksdb"]
watch = ["d-engine-core/watch"]

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

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

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

[[bench]]
name = "state_machine"
path = "benches/state_machine.rs"
harness = false
required-features = ["watch"]

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

[[bench]]
name = "watch_overhead"
path = "benches/watch_overhead.rs"
harness = false
required-features = [
    "watch",
    "rocksdb",
]

[dependencies.arc-swap]
version = "1.7.1"

[dependencies.async-trait]
version = "0.1"

[dependencies.bincode]
version = "1.3"

[dependencies.bytes]
version = "1.10"
features = ["serde"]

[dependencies.config]
version = "0.14.0"
features = ["toml"]
default-features = false

[dependencies.crc32fast]
version = "1.4.2"

[dependencies.crossbeam]
version = "0.8"

[dependencies.crossbeam-skiplist]
version = "0.1"

[dependencies.d-engine-core]
version = "0.2.3"

[dependencies.d-engine-proto]
version = "0.2.3"

[dependencies.dashmap]
version = "6.1"

[dependencies.futures]
version = "0.3.30"

[dependencies.http-body]
version = "1.0"

[dependencies.http-body-util]
version = "0.1.3"

[dependencies.metrics]
version = "0.24"
features = []

[dependencies.parking_lot]
version = "0.12.3"

[dependencies.prost]
version = "0.13"
default-features = false

[dependencies.rcgen]
version = "0.13"
features = ["pem"]

[dependencies.rocksdb]
version = "0.24.0"
optional = true

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

[dependencies.tempfile]
version = "3.19.1"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "time",
    "signal",
    "fs",
    "sync",
]

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

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

[dependencies.tonic]
version = "0.12.3"
features = [
    "gzip",
    "tls",
]

[dependencies.tonic-health]
version = "0.12.3"

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.astral-tokio-tar]
version = "0.5"

[dev-dependencies.async-compression]
version = "0.4"
features = [
    "tokio",
    "gzip",
]

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

[dev-dependencies.d-engine-client]
version = "0.2.3"

[dev-dependencies.d-engine-core]
version = "0.2.3"
features = ["__test_support"]

[dev-dependencies.mockall]
version = "0.12.1"

[dev-dependencies.nanoid]
version = "0.4.0"

[dev-dependencies.serial_test]
version = "3.2.0"

[dev-dependencies.temp-env]
version = "0.3.6"

[dev-dependencies.tokio]
version = "1"
features = [
    "test-util",
    "process",
]

[dev-dependencies.tokio-stream]
version = "0.1.16"

[dev-dependencies.tracing-test]
version = "0.2"

[dev-dependencies.uuid]
version = "1"
features = ["v4"]