-
Notifications
You must be signed in to change notification settings - Fork 21
/
Cargo.toml
41 lines (36 loc) · 989 Bytes
/
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
[package]
name = "raft_rs"
version = "0.1.0"
edition = "2021"
authors = ["Vipul Vaibhaw <[email protected]>"]
description = "A Raft implementation by SpacewalkHq"
license = "MIT"
readme = "README.md"
repository = "https://github.com/spacewalkhq/raft-rs"
homepage = "https://github.com/spacewalkhq/raft-rs"
keywords = ["raft", "distributed-systems", "consensus"]
categories = ["algorithms", "network-programming", "distributed-systems"]
[dependencies]
tokio = { version = "1", features = ["full"] }
futures = "0.3"
async-trait = "0.1"
bincode = "1.3.1"
serde = { version = "1.0", features = ["derive"] }
hex = "0.4"
sha2 = "0.10.8"
slog = "2.7.0"
slog-term = "2.9.1"
rand = "0.8"
chrono = "0.4"
thiserror = "1.0"
[dev-dependencies]
tempfile = "3.10.1"
[[example]]
name = "simple_run"
path = "examples/simple_run.rs"
[[example]]
name = "simulate_node_failure"
path = "examples/simulate_node_failure.rs"
[[example]]
name = "simulate_add_node"
path = "examples/simulate_add_node.rs"