[package]
name = "near-primitives-core"
version = "0.14.0"
authors = ["Near Inc <hello@nearprotocol.com>"]
publish = true
rust-version = "1.60.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/near/nearcore"
description = """
This crate provides the core set of primitives used by other nearcore crates including near-primitives
"""
[dependencies]
base64 = "0.11"
borsh = "0.9"
bs58 = "0.4"
derive_more = "0.99.3"
num-rational = { version = "0.3.1", features = ["serde"]}
serde = { version = "1", features = ["derive"] }
strum = { version = "0.24", features = ["derive"] }
sha2 = "0.10"
deepsize = { version = "0.2.0", optional = true }
near-account-id = { path = "../account-id", version = "0.14.0" }
[dev-dependencies]
serde_json = "1"
[features]
default = []
protocol_feature_alt_bn128 = []
protocol_feature_routing_exchange_algorithm = []
deepsize_feature = [
"deepsize",
"near-account-id/deepsize_feature",
]