-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
49 lines (44 loc) · 1.22 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "raft-lite"
version = "0.2.7"
edition = "2021"
authors = ["Liangrun Da <me@liangrunda.com>"]
description = "A simple and understandable implementation of Raft consensus algorithm."
readme = "README.md"
repository = "https://github.com/liangrunda/raft-lite"
license = "MIT"
license-file = "LICENSE"
keywords = ["raft", "consensus"]
exclude = ["data/*"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tarpc = { version = "0.33", features = ["full"] }
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "fs", "io-util"] }
tracing = "0.1.37"
anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
stubborn-io = "0.3"
tracing-appender = "0.2.2"
tracing-subscriber = { version = "0.3.17", features = [
"env-filter",
"fmt",
"ansi",
"std",
"registry",
] }
futures = "0.3"
rand = "0.8.5"
async-trait = { version = "0.1.75", features = [] }
dyn-clone = "1.0.16"
bincode = "1.3.3"
stateright = "0.30.1"
num_cpus = "1.16.0"
clap = { version = "4.2.5", features = ["derive", "env"] }
crc= { version = "3.0.1" }
[lib]
name = "raft_lite"
path = "src/lib.rs"
[[bin]]
name = "checker"
path = "src/main.rs"