content: [package]
  name = "near-primitives"
  version.workspace = true
  authors.workspace = true
  edition.workspace = true
  description = "This crate provides the base set of primitives used by other nearcore crates"
  repository.workspace = true
  license.workspace = true
  publish = true
  
  [lints]
  workspace = true
  
  [dependencies]
  arbitrary.workspace = true
  base64.workspace = true
  bitvec.workspace = true
  borsh.workspace = true
  bytesize.workspace = true
  bytes.workspace = true
  chrono.workspace = true
  derive_more = { workspace = true, features = [
      "as_ref",
      "from",
      "into",
      "deref",
      "display",
  ] }
  easy-ext.workspace = true
  hex.workspace = true
  itertools.workspace = true
  num-rational.workspace = true
  ordered-float.workspace = true
  primitive-types.workspace = true
  rand = { workspace = true, optional = true }
  rand_chacha = { workspace = true, optional = true }
  reed-solomon-erasure = { workspace = true, optional = true }
  serde.workspace = true
  serde_json.workspace = true
  serde_with.workspace = true
  schemars = { workspace = true, optional = true }
  sha3.workspace = true
  smallvec = { workspace = true, features = ["write"] }
  smart-default.workspace = true
  stdx.workspace = true
  strum.workspace = true
  thiserror.workspace = true
  tracing.workspace = true
  zstd.workspace = true
  enum-map.workspace = true
  
  near-time = { workspace = true }
  near-crypto.workspace = true
  near-fmt.workspace = true
  near-primitives-core.workspace = true
  near-parameters.workspace = true
  near-schema-checker-lib.workspace = true
  
  [features]
  sandbox = []
  test_features = []
  test_utils = []
  solomon = ["reed-solomon-erasure"]
  rand = ["dep:rand", "rand_chacha", "near-crypto/rand"]
  clock = ["near-time/clock", "near-time/serde"]
  schemars = [
      "dep:schemars",
      "near-primitives/schemars",
      "near-primitives-core/schemars",
      "near-parameters/schemars",
      "near-time/schemars",
      "near-crypto/schemars",
  ]
  
  nightly = [
      "near-fmt/nightly",
      "near-parameters/nightly",
      "near-primitives-core/nightly",
      "near-primitives/nightly",
  ]
  
  protocol_feature_spice = []
  
  calimero_zero_storage = []
  
  protocol_schema = ["near-schema-checker-lib/protocol_schema"]
  
  [dev-dependencies]
  chrono = { workspace = true, features = ["clock"] }
  near-primitives = { path = ".", features = [
      "clock",
      "solomon",
      "rand",
      "test_utils",
  ] }
  assert_matches.workspace = true
  bencher.workspace = true
  bolero.workspace = true
  insta.workspace = true
  expect-test.workspace = true
  regex.workspace = true
  tempfile.workspace = true
  criterion.workspace = true
  