[package] name = "aptos-network" version = "0.2.7" authors = ["Aptos Labs "] description = "Aptos networking stack" 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" bytes = { version = "1.0.1", features = ["serde"] } futures = "0.3.21" futures-util = "0.3.21" hex = "0.4.3" itertools = "0.10.1" once_cell = "1.10.0" pin-project = "1.0.10" proptest = { version = "1.0.0", default-features = true, optional = true } proptest-derive = { version = "0.3.0", optional = true } rand = { version = "0.7.3", features = ["small_rng"] } serde = { version = "1.0.137", default-features = false } serde_bytes = "0.11.6" serde_json = "1.0.81" thiserror = "1.0.31" tokio = { version = "1.18.2", features = ["full"] } tokio-retry = "0.3.0" tokio-util = { version = "0.7.2", features = ["compat", "codec"] } aptos-compression = { version = "0.2.1", path = "../crates/aptos-compression" } aptos-config = { version = "0.2.1", path = "../config" } aptos-crypto = { version = "0.2.1", path = "../crates/aptos-crypto" } aptos-crypto-derive = { version = "0.2.1", path = "../crates/aptos-crypto-derive" } aptos-id-generator = { version = "0.2.1", path = "../crates/aptos-id-generator" } aptos-infallible = { version = "0.2.1", path = "../crates/aptos-infallible" } aptos-logger = { version = "0.2.1", path = "../crates/aptos-logger" } aptos-metrics-core = { version = "0.2.1", path = "../crates/aptos-metrics-core" } aptos-proptest-helpers = { version = "0.2.1", path = "../crates/aptos-proptest-helpers", optional = true } aptos-rate-limiter = { version = "0.2.1", path = "../crates/aptos-rate-limiter" } aptos-time-service = { version = "0.2.1", path = "../crates/aptos-time-service", features = [ "async" ] } aptos-types = { version = "0.2.1", path = "../types" } bitvec = { version = "0.2.1", path = "../crates/aptos-bitvec", package = "aptos-bitvec" } aptos-channel = { version = "0.2.1", path = "../crates/channel" } aptos-memsocket = { version = "0.2.1", path = "./memsocket", optional = true } netcore = { version = "0.2.1", path = "./netcore" } num-variants = { version = "0.2.1", path = "../crates/num-variants" } short-hex-str = { version = "0.2.1", path = "../crates/short-hex-str" } [dev-dependencies] maplit = "1.0.2" proptest = { version = "1.0.0", default-features = true } proptest-derive = { version = "0.3.0" } rand_core = "0.5.1" aptos-config = { version = "0.2.1", path = "../config", features = ["testing"] } aptos-proptest-helpers = { version = "0.2.1", path = "../crates/aptos-proptest-helpers" } aptos-time-service = { version = "0.2.1", path = "../crates/aptos-time-service", features = [ "async", "testing" ] } aptos-types = { version = "0.2.1", path = "../types", features = ["fuzzing"] } bitvec = { version = "0.2.1", path = "../crates/aptos-bitvec", package = "aptos-bitvec", features = [ "fuzzing" ] } aptos-memsocket = { version = "0.2.1", path = "./memsocket" } netcore = { version = "0.2.1", path = "./netcore", features = ["testing"] } network-builder = { version = "0.2.1", path = "./builder" } [features] default = [] fuzzing = [ "bitvec/fuzzing", "aptos-config/fuzzing", "aptos-crypto/fuzzing", "aptos-types/fuzzing", "aptos-proptest-helpers", "aptos-time-service/testing", "aptos-types/fuzzing", "aptos-memsocket/testing", "netcore/fuzzing", "proptest", "proptest-derive" ] testing = [ "aptos-config/testing", "aptos-time-service/testing", "aptos-memsocket/testing", "netcore/testing" ] [lib] name = "network"