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