-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (48 loc) · 1.09 KB
/
Cargo.toml
File metadata and controls
57 lines (48 loc) · 1.09 KB
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
50
51
52
53
54
55
56
57
[package]
name = "consensus-workbench"
version = "0.1.0"
edition = "2021"
publish = false
[lib]
path = "src/lib.rs"
doctest = false
name = "lib"
[[bin]]
name = "client"
path = "src/client.rs"
test = false
[[bin]]
name = "single_node"
path = "src/single_node/main.rs"
[[bin]]
name = "node_replication"
path = "src/primary_backup/main.rs"
[[bin]]
name = "node_lock_commit"
path = "src/lock_commit/main.rs"
[[bin]]
name = "blockchain"
path = "src/blockchain/main.rs"
[dependencies]
tokio = { version = "1.15.0", features = ["full", "tracing"] }
tokio-util = { version = "0.7.3", features = ["codec"] }
thiserror = "1.0.24"
bytes = "1.0.1"
log = "0.4.14"
clap = { version = "4.0.5", features = ["derive"] }
futures = "0.3.14"
rand = { version = "0.7.3", features = ["small_rng"] }
async-trait = "0.1.50"
simple_logger = "2.3.0"
bincode = "1.3.3"
serde = { version = "1.0", features = ["derive"] }
rocksdb = "0.19.0"
anyhow = "1.0.65"
sha2 = "0.9.8"
hex = "0.4"
uuid = { version = "1.2.1", features = ["v4"] }
itertools = "0.10.5"
serial_test = "0.4.0"
[dev-dependencies]
ctor = "0.1.23"
tokio-retry = "0.3.0"