[package] name = "near-network" version = "0.1.0" authors = ["Near Inc "] edition = "2018" license = "Apache-2.0" repository = "https://github.com/near/nearcore" homepage = "https://github.com/near/nearcore" description = "Near network." [dependencies] bytes = "1" actix = { version = "=0.11.0-beta.2" } tokio = { version = "1.1", features = ["full"] } tokio-util = { version = "0.6", features = ["codec"] } tokio-stream = { version = "0.1.2", features = ["net"] } futures = "0.3" chrono = { version = "0.4.4", features = ["serde"] } rand = "0.7" byteorder = "1.2" lazy_static = "1.4" tracing = "0.1.13" strum = { version = "0.20", features = ["derive"] } near-rust-allocator-proxy = "0.2.9" bytesize = "1.0.1" conqueue = "0.4.0" serde = { version = "1", features = ["derive"], optional=true } borsh = "0.9" cached = "0.23" near-network-primitives = { path = "../network-primitives", version = "0.1.0" } near-chain-configs = { path = "../../core/chain-configs", version = "0.1.0" } near-crypto-v01 = { path = "../../core/crypto", version = "0.1.0" } near-primitives-v01 = { path = "../../core/primitives", version = "0.1.0" } near-store-v01 = { path = "../../core/store", version = "2.2.0" } near-metrics = { path = "../../core/metrics", version = "0.1.0" } near-performance-metrics = { path = "../../utils/near-performance-metrics", version = "0.1.0" } near-performance-metrics-macros = { path = "../../utils/near-performance-metrics-macros", version = "0.1.0" } near-stable-hasher = { path = "../../utils/near-stable-hasher", version = "0.1.0" } near-delay-detector = { path = "../../tools/delay_detector", optional = true, version = "0.1.0" } near-chain = { path = "../chain", version = "0.1.0" } [dev-dependencies] near-logger-utils = { version = "0.1.0"} near-actix-test-utils = { version = "0.1.0" } tempfile = "3" bencher = "0.1.5" [features] adversarial = ["near-network-primitives/adversarial", "serde"] delay_detector = ["near-delay-detector"] performance_stats = ["near-performance-metrics/performance_stats"] sandbox = ["near-network-primitives/sandbox"] protocol_feature_routing_exchange_algorithm = ["near-primitives-v01/protocol_feature_routing_exchange_algorithm"] [[bench]] name = "graph" harness = false [[bench]] name = "ibf" harness = false