[package] name = "near-network-primitives" version = "0.15.0" authors = ["Near Inc "] edition = "2021" # Please update rust-toolchain.toml as well when changing version here: rust-version = "1.64.0" description = "This crate hosts NEAR network-related primitive types" repository = "https://github.com/near/nearcore" license = "MIT OR Apache-2.0" publish = true [dependencies] anyhow = "1.0.51" actix = "0.13.0" borsh = "0.9" thiserror = "1" once_cell = "1.12.0" chrono = { version = "0.4.4", features = ["serde"] } deepsize = { version = "0.2.0", optional = true } opentelemetry = { version = "0.17", features = ["trace"] } serde = { version = "1", features = ["alloc", "derive", "rc"] } strum = { version = "0.24", features = ["derive"] } time = "0.3.9" tokio = { version = "1.1", features = ["net", "rt-multi-thread"] } tracing = "0.1.13" near-crypto = { path = "../../core/crypto", version = "0.15.0" } near-primitives = { path = "../../core/primitives", version = "0.15.0" } [features] deepsize_feature = [ "deepsize", "near-primitives/deepsize_feature", ] test_features = []