-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
46 lines (41 loc) · 1.38 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
[package]
name = "example-raft-key-value"
version = "0.1.0"
edition = "2021"
authors = [
"drdr xp <[email protected]>",
"Pedro Paulo de Amorim <[email protected]>"
]
categories = ["algorithms", "asynchronous", "data-structures"]
description = "An example distributed key-value store built upon `openraft`."
homepage = "https://github.com/datafuselabs/openraft"
keywords = ["raft", "consensus"]
license = "MIT/Apache-2.0"
repository = "https://github.com/datafuselabs/openraft"
readme = "README.md"
[[bin]]
name = "raft-key-value"
path = "src/bin/main.rs"
[dependencies]
actix-web = "4.0.0-rc.2"
async-trait = "0.1.36"
clap = { version = "3.0.13", features = ["derive", "env"] }
env_logger = "0.9.0"
openraft = { git = "https://github.com/datafuselabs/openraft", rev = "2262c79f5195307402e7a0994771b4152c0d10b2" }
reqwest = { version = "0.11.9", features = ["json"] }
serde = { version="1.0.114", features=["derive"] }
serde_json = "1.0.57"
tokio = { version="1.0", default-features=false, features=["sync"] }
tracing = "0.1.29"
tracing-futures = "0.2.4"
uuid = { version = "0.8.1", features = ["v4"] }
sled = "0.34.7"
walkdir = "2.3.2"
rand = "0.8.3"
[dev-dependencies]
anyhow = "1.0.32"
maplit = "1.0.2"
[features]
docinclude = [] # Used only for activating `doc(include="...")` on nightly.
[package.metadata.docs.rs]
features = ["docinclude"] # Activate `docinclude` during docs.rs build.