forked from diem/diem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
74 lines (69 loc) · 2.92 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[package]
name = "consensus"
version = "0.1.0"
authors = ["Diem Association <opensource@diem.com>"]
description = "Diem consensus"
repository = "https://github.com/diem/diem"
homepage = "https://diem.com"
license = "Apache-2.0"
publish = false
edition = "2018"
[dependencies]
anyhow = "1.0.38"
async-trait = "0.1.42"
byteorder = { version = "1.4.2", default-features = false }
bytes = "1.0.1"
fail = "0.4.0"
futures = "0.3.12"
itertools = { version = "0.10.0", default-features = false }
mirai-annotations = { version = "1.10.1", default-features = false }
num-derive = { version = "0.3.3", default-features = false }
num-traits = { version = "0.2.14", default-features = false }
once_cell = "1.7.2"
proptest = { version = "1.0.0", optional = true }
rand = { version = "0.8.3", default-features = false }
serde = { version = "1.0.123", default-features = false }
serde_json = "1.0.64"
termion = { version = "1.5.6", default-features = false }
thiserror = "1.0.24"
tokio = { version = "1.3.0", features = ["full"] }
channel = { path = "../common/channel" }
consensus-types = { path = "consensus-types", default-features = false }
execution-correctness = { path = "../execution/execution-correctness" }
executor = { path = "../execution/executor" }
executor-types = { path = "../execution/executor-types" }
fallible = { path = "../common/fallible" }
bcs = "0.1.2"
diem-config = { path = "../config" }
diem-crypto = { path = "../crypto/crypto" }
diem-logger = { path = "../common/logger" }
diem-mempool = { path = "../mempool" }
diem-metrics = { path = "../common/metrics" }
diem-infallible = { path = "../common/infallible" }
diem-secure-storage = { path = "../secure/storage" }
diem-temppath = { path = "../common/temppath" }
diem-trace = { path = "../common/trace" }
diem-types = { path = "../types" }
diem-vm = { path = "../language/diem-vm" }
diem-workspace-hack = { path = "../common/workspace-hack" }
network = { path = "../network" }
safety-rules = { path = "safety-rules" }
short-hex-str = { path = "../common/short-hex-str" }
state-sync = { path = "../state-sync" }
schemadb = { path = "../storage/schemadb" }
storage-interface = { path = "../storage/storage-interface" }
subscription-service = { path = "../common/subscription-service" }
[dev-dependencies]
proptest = "1.0.0"
tempfile = "3.2.0"
consensus-types = { path = "consensus-types", default-features = false, features = ["fuzzing"] }
executor-test-helpers = { path = "../execution/executor-test-helpers" }
diem-config = { path = "../config", features = ["fuzzing"] }
diem-mempool = { path = "../mempool", features = ["fuzzing"] }
safety-rules = { path = "safety-rules", features = ["testing"] }
vm-genesis = { path = "../language/tools/vm-genesis" }
vm-validator = { path = "../vm-validator" }
[features]
default = []
fuzzing = ["proptest", "consensus-types/fuzzing", "diem-config/fuzzing", "diem-crypto/fuzzing", "diem-mempool/fuzzing", "diem-types/fuzzing", "safety-rules/testing"]
failpoints = ["fail/failpoints"]