[package] name = "near-primitives-v01" version = "0.1.0" authors = ["Near Inc "] edition = "2018" license = "MIT OR Apache-2.0" repository = "https://github.com/near/nearcore" homepage = "https://github.com/near/nearcore" description = """ This crate provides the base set of primitives used by other nearcore crates """ [dependencies] regex = "1" bs58 = "0.4" base64 = "0.13" byteorder = "1.3" bytesize = "1" chrono = { version = "0.4.4", features = ["serde"] } derive_more = "0.99.3" easy-ext = "0.2" sha2 = "0.9" serde = { version = "1", features = ["derive"] } serde_json = "1" smart-default = "0.6" validator = "0.12" rand = "0.7" reed-solomon-erasure = "4" jemallocator = { version = "0.3", optional = true } hex = "0.4" num-rational = { version = "0.3", features = ["serde"] } primitive-types = "0.10" borsh = "0.9" near-primitives-core-v01 = { path = "../primitives-core", version = "0.1.0" } near-crypto-v01 = { path = "../crypto", version = "0.1.0" } near-vm-errors-v3 = { path = "../../runtime/near-vm-errors", version = "3.0.0" } near-rpc-error-macro = { path = "../../tools/rpctypegen/macro", version = "0.1.0" } [features] default = ["jemallocator"] dump_errors_schema = ["near-rpc-error-macro/dump_errors_schema"] protocol_feature_block_header_v3 = [] protocol_feature_alt_bn128 = ["near-primitives-core-v01/protocol_feature_alt_bn128", "near-vm-errors-v3/protocol_feature_alt_bn128"] protocol_feature_simple_nightshade = [] protocol_feature_chunk_only_producers = ["protocol_feature_block_header_v3"] protocol_feature_lower_data_receipt_cost = [] protocol_feature_lower_ecrecover_base_cost = [] protocol_feature_routing_exchange_algorithm = ["near-primitives-core-v01/protocol_feature_routing_exchange_algorithm"] protocol_feature_wasmer2 = [] nightly_protocol_features = ["nightly_protocol", "protocol_feature_block_header_v3", "protocol_feature_alt_bn128", "protocol_feature_chunk_only_producers", "protocol_feature_simple_nightshade", "protocol_feature_lower_data_receipt_cost", "protocol_feature_routing_exchange_algorithm", "protocol_feature_wasmer2", "protocol_feature_lower_ecrecover_base_cost"] nightly_protocol = [] [dev-dependencies] bencher = "0.1.5" [package.metadata.cargo-udeps.ignore] normal = ["jemallocator"] [[bench]] name = "serialization" harness = false