ezraft 0.1.1

A beginner-friendly Raft framework built on openraft
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"
name = "ezraft"
version = "0.1.1"
authors = ["Zhang Yanpo <drdr.xp@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A beginner-friendly Raft framework built on openraft"
homepage = "https://github.com/drmingdrmer/ezraft"
documentation = "https://docs.rs/ezraft"
readme = "README.md"
keywords = [
    "raft",
    "consensus",
]
categories = [
    "algorithms",
    "asynchronous",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/drmingdrmer/ezraft"

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

[[example]]
name = "kvstore"
path = "examples/kvstore.rs"

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

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

[dependencies.actix-web]
version = "4.0"

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

[dependencies.derive_more]
version = "2.1.1"
features = ["display"]

[dependencies.futures]
version = "0.3"

[dependencies.openraft]
version = "=0.10.0-alpha.32"
features = [
    "serde",
    "type-alias",
]

[dependencies.reqwest]
version = "0.12"
features = ["json"]

[dependencies.serde]
version = "1.0.114"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.57"

[dependencies.tokio]
version = "1.39"
features = [
    "fs",
    "macros",
    "rt",
    "rt-multi-thread",
    "sync",
    "time",
]
default-features = false

[dependencies.tracing]
version = "0.1.40"

[dev-dependencies.clap]
version = "4.1.11"
features = [
    "derive",
    "env",
]

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

[profile.release]
debug = 2
split-debuginfo = "packed"