[package]
name = "aptos-node"
version = "0.2.7"
authors = ["Aptos Labs <opensource@aptoslabs.com>"]
description = "Aptos node"
repository = "https://github.com/aptos-labs/aptos-core"
homepage = "https://aptoslabs.com"
license = "Apache-2.0"
edition = "2018"

[dependencies]
anyhow = "1.0.58"
bcs = "0.1.3"
clap = "3.1.8"
fail = "0.5.0"
futures = "0.3.21"
hex = "0.4.3"
jemallocator = { version = "0.3.2", features = [
    "profiling",
    "unprefixed_malloc_on_supported_platforms"
] }
rand = "0.7.3"
tokio = { version = "1.18.2", features = ["full"] }
tokio-stream = "0.1.8"
aptos-api = { version = "0.2.1", path = "../api" }
aptos-config = { version = "0.2.1", path = "../config" }
aptos-crypto = { version = "0.2.1", path = "../crates/aptos-crypto" }
aptos-data-client = { version = "0.2.1", path = "../state-sync/aptos-data-client" }
aptos-genesis = { version = "0.2.1", path = "../crates/aptos-genesis", features = [
    "testing"
] }
aptos-infallible = { version = "0.2.1", path = "../crates/aptos-infallible" }
aptos-logger = { version = "0.2.1", path = "../crates/aptos-logger" }
aptos-mempool = { version = "0.2.1", path = "../mempool" }
aptos-secure-storage = { version = "0.2.1", path = "../secure/storage" }
aptos-sf-stream = { version = "0.2.1", path = "../sf-stream" }
aptos-state-view = { version = "0.2.1", path = "../storage/state-view" }
aptos-telemetry = { version = "0.2.1", path = "../crates/aptos-telemetry" }
aptos-temppath = { version = "0.2.1", path = "../crates/aptos-temppath" }
aptos-time-service = { version = "0.2.1", path = "../crates/aptos-time-service" }
aptos-types = { version = "0.2.1", path = "../types" }
aptos-vm = { version = "0.2.1", path = "../aptos-move/aptos-vm" }
aptosdb = { version = "0.2.1", path = "../storage/aptosdb" }
backup-service = { version = "0.2.1", path = "../storage/backup/backup-service" }
cached-framework-packages = { version = "0.2.1", path = "../aptos-move/framework/cached-packages" }
consensus = { version = "0.2.1", path = "../consensus", package = "aptos-consensus" }
consensus-notifications = { version = "0.2.1", path = "../state-sync/inter-component/consensus-notifications" }
crash-handler = { version = "0.2.1", path = "../crates/crash-handler", package = "crash-handler-on-you" }
data-streaming-service = { version = "0.2.1", path = "../state-sync/state-sync-v2/data-streaming-service" }
event-notifications = { version = "0.2.1", path = "../state-sync/inter-component/event-notifications" }
executor = { version = "0.2.1", path = "../execution/executor", package = "aptos-executor" }
executor-types = { version = "0.2.1", path = "../execution/executor-types" }
framework = { version = "0.2.1", package = "aptos-framework", path = "../aptos-move/framework" }
inspection-service = { version = "0.2.1", path = "../crates/inspection-service" }
mempool-notifications = { version = "0.2.1", path = "../state-sync/inter-component/mempool-notifications" }
aptos-network = { version = "0.2.1", path = "../network" }
network-builder = { version = "0.2.1", path = "../network/builder" }
state-sync-driver = { version = "0.2.1", path = "../state-sync/state-sync-v2/state-sync-driver" }
storage-interface = { version = "0.2.1", path = "../storage/storage-interface" }
storage-service-client = { version = "0.2.1", path = "../state-sync/storage-service/client" }
storage-service-server = { version = "0.2.1", path = "../state-sync/storage-service/server" }

[features]
default = []
assert-private-keys-not-cloneable = [
    "aptos-crypto/assert-private-keys-not-cloneable"
]
failpoints = [
    "fail/failpoints",
    "consensus/failpoints",
    "executor/failpoints",
    "aptos-mempool/failpoints",
    "aptos-api/failpoints"
]