# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "near-network" version = "0.1.0" authors = ["Near Inc "] description = "Near network." homepage = "https://github.com/near/nearcore" license = "Apache-2.0" repository = "https://github.com/near/nearcore" resolver = "2" [[bench]] name = "graph" harness = false [[bench]] name = "ibf" harness = false [dependencies.actix] version = "=0.11.0-beta.2" [dependencies.borsh] version = "0.9" [dependencies.byteorder] version = "1.2" [dependencies.bytes] version = "1" [dependencies.bytesize] version = "1.0.1" [dependencies.cached] version = "0.23" [dependencies.chrono] version = "0.4.4" features = ["serde"] [dependencies.conqueue] version = "0.4.0" [dependencies.futures] version = "0.3" [dependencies.lazy_static] version = "1.4" [dependencies.near-chain] version = "0.1.0" [dependencies.near-chain-configs] version = "0.1.0" [dependencies.near-crypto-v01] version = "0.1.0" [dependencies.near-delay-detector] version = "0.1.0" optional = true [dependencies.near-metrics] version = "0.1.0" [dependencies.near-network-primitives] version = "0.1.0" [dependencies.near-performance-metrics] version = "0.1.0" [dependencies.near-performance-metrics-macros] version = "0.1.0" [dependencies.near-primitives-v01] version = "0.1.0" [dependencies.near-rust-allocator-proxy] version = "0.2.9" [dependencies.near-stable-hasher] version = "0.1.0" [dependencies.near-store-v01] version = "2.2.0" [dependencies.rand] version = "0.7" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.strum] version = "0.20" features = ["derive"] [dependencies.tokio] version = "1.1" features = ["full"] [dependencies.tokio-stream] version = "0.1.2" features = ["net"] [dependencies.tokio-util] version = "0.6" features = ["codec"] [dependencies.tracing] version = "0.1.13" [dev-dependencies.bencher] version = "0.1.5" [dev-dependencies.near-actix-test-utils] version = "0.1.0" [dev-dependencies.near-logger-utils] version = "0.1.0" [dev-dependencies.tempfile] version = "3" [features] adversarial = ["near-network-primitives/adversarial", "serde"] delay_detector = ["near-delay-detector"] performance_stats = ["near-performance-metrics/performance_stats"] protocol_feature_routing_exchange_algorithm = ["near-primitives-v01/protocol_feature_routing_exchange_algorithm"] sandbox = ["near-network-primitives/sandbox"]