[package]
name = "aptos-consensus"
version = "0.2.7"
authors = ["Aptos Labs <opensource@aptoslabs.com>"]
description = "Aptos consensus"
repository = "https://github.com/aptos-labs/aptos-core"
homepage = "https://aptoslabs.com"
license = "Apache-2.0"
edition = "2018"
[dependencies]
anyhow = "1.0.57"
async-trait = "0.1.53"
bcs = "0.1.3"
byteorder = { version = "1.4.3" }
bytes = "1.1.0"
fail = "0.5.0"
futures = "0.3.21"
itertools = { version = "0.10.3", default-features = false }
mirai-annotations = { version = "1.12.0", default-features = false }
num-derive = { version = "0.3.3", default-features = false }
num-traits = { version = "0.2.15", default-features = false }
once_cell = "1.10.0"
rand = { version = "0.7.3", default-features = false }
serde = { version = "1.0.137", default-features = false }
serde_json = "1.0.81"
termion = { version = "1.5.6", default-features = false }
thiserror = "1.0.31"
tokio = { version = "1.18.2", features = ["full"] }
aptos-config = { version = "0.2.1", path = "../config" }
aptos-crypto = { version = "0.2.1", path = "../crates/aptos-crypto" }
aptos-infallible = { version = "0.2.1", path = "../crates/aptos-infallible" }
aptos-keygen = { version = "0.2.1", path = "../crates/aptos-keygen" }
aptos-logger = { version = "0.2.1", path = "../crates/aptos-logger" }
aptos-mempool = { version = "0.2.1", path = "../mempool" }
aptos-metrics-core = { version = "0.2.1", path = "../crates/aptos-metrics-core" }
aptos-secure-storage = { version = "0.2.1", path = "../secure/storage" }
aptos-temppath = { version = "0.2.1", path = "../crates/aptos-temppath" }
aptos-types = { version = "0.2.1", path = "../types" }
aptos-vm = { version = "0.2.1", path = "../aptos-move/aptos-vm" }
aptos-channel = { version = "0.2.1", path = "../crates/channel" }
consensus-notifications = { version = "0.2.1", path = "../state-sync/inter-component/consensus-notifications" }
consensus-types = { version = "0.2.1", path = "consensus-types", default-features = false }
event-notifications = { version = "0.2.1", path = "../state-sync/inter-component/event-notifications" }
aptos-executor = { version = "0.2.1", path = "../execution/executor" }
executor-types = { version = "0.2.1", path = "../execution/executor-types" }
fallible = { version = "0.2.1", path = "../crates/fallible", package = "aptos-fallible" }
aptos-network = { version = "0.2.1", path = "../network" }
safety-rules = { version = "0.2.1", path = "safety-rules" }
schemadb = { version = "0.2.1", path = "../storage/schemadb" }
short-hex-str = { version = "0.2.1", path = "../crates/short-hex-str" }
storage-interface = { version = "0.2.1", path = "../storage/storage-interface" }
[dev-dependencies]
claim = "0.5.0"
proptest = "1.0.0"
tempfile = "3.3.0"
aptos-config = { version = "0.2.1", path = "../config", features = ["fuzzing"] }
aptos-mempool = { version = "0.2.1", path = "../mempool", features = [
"fuzzing"
] }
consensus-types = { version = "0.2.1", path = "consensus-types", default-features = false, features = [
"fuzzing"
] }
executor-test-helpers = { version = "0.2.1", path = "../execution/executor-test-helpers" }
move-deps = { version = "0.2.1", path = "../aptos-move/move-deps", features = [
"address32"
] }
aptos-network = { version = "0.2.1", path = "../network", features = [
"fuzzing"
] }
safety-rules = { version = "0.2.1", path = "safety-rules", features = [
"testing"
] }
vm-validator = { version = "0.2.1", path = "../vm-validator" }
[features]
default = []
fuzzing = [
"consensus-types/fuzzing",
"aptos-config/fuzzing",
"aptos-crypto/fuzzing",
"aptos-mempool/fuzzing",
"aptos-types/fuzzing",
"safety-rules/testing"
]
failpoints = ["fail/failpoints"]