d-engine-core 0.2.3

Pure Raft consensus algorithm - for building custom Raft-based systems
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-core"
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 = "Pure Raft consensus algorithm - for building custom Raft-based systems"
homepage = "https://github.com/deventlab/d-engine"
readme = "README.md"
keywords = [
    "raft",
    "consensus",
    "algorithm",
]
categories = [
    "algorithms",
    "concurrency",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/deventlab/d-engine"
resolver = "2"

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

[package.metadata.release]
tag = false

[features]
__test_support = [
    "mockall",
    "uuid",
    "tonic-health",
]
watch = []

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

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

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

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

[dependencies.async-stream]
version = "0.3.6"

[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-channel]
version = "0.5"

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

[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.lru]
version = "0.15.0"

[dependencies.memmap2]
version = "0.9.5"

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

[dependencies.mockall]
version = "0.12.1"
optional = true

[dependencies.nanoid]
version = "0.4.0"

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

[dependencies.rand]
version = "0.8.5"

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

[dependencies.sha2]
version = "0.10.9"

[dependencies.tempfile]
version = "3.19.1"

[dependencies.thiserror]
version = "1.0"

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

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

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

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

[dependencies.tracing]
version = "0.1.41"

[dependencies.uuid]
version = "1"
features = ["v4"]
optional = true

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

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

[dev-dependencies.nix]
version = "0.30.1"
features = ["fs"]

[dev-dependencies.parking_lot]
version = "0.12.3"

[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.tonic-health]
version = "0.12.3"

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

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