forked from databendlabs/openraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (32 loc) · 1.11 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
# These tests depend on `memstore`, while `memstore` enables `serde` feature of `openraft`.
# This make it impossible to test openraft with `serde` feature off.
[package]
name = "cluster-benchmark"
description = "openraft cluster benchmark"
version = "0.1.0"
edition = "2021"
authors = [
"drdr xp <[email protected]>",
]
categories = ["algorithms", "asynchronous", "data-structures"]
homepage = "https://github.com/datafuselabs/openraft"
keywords = ["raft", "consensus"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/datafuselabs/openraft"
[dependencies]
[dev-dependencies]
openraft = { path="../openraft", version = "0.10.0", features = ["serde", "type-alias"] }
anyhow = "1.0.63"
maplit = "1.0.2"
serde = { version="1.0.114", features=["derive", "rc"]}
serde_json = "1.0.57"
tokio = { version="1.8", default-features=false, features=["fs", "io-util", "macros", "rt", "rt-multi-thread", "sync", "time"] }
tracing = "0.1.29"
[features]
bt = ["openraft/bt"]
single-term-leader = ["openraft/single-term-leader"]
[profile.release]
debug = 2
lto = "thin"
overflow-checks = false
codegen-units = 1