content: [package]
  name = "zksync_types"
  description = "Shared ZKsync types"
  version.workspace = true
  edition.workspace = true
  authors.workspace = true
  homepage.workspace = true
  repository.workspace = true
  license.workspace = true
  keywords.workspace = true
  categories.workspace = true
  
  [dependencies]
  # **IMPORTANT.** Please do not add dependency on `zksync_config` etc. This crate has a heavy dependency graph as is.
  zksync_system_constants.workspace = true
  zksync_basic_types.workspace = true
  zksync_contracts.workspace = true
  zksync_mini_merkle_tree.workspace = true
  zksync_protobuf = { workspace = true, optional = true }
  zksync_crypto_primitives.workspace = true
  
  async-trait.workspace = true
  anyhow.workspace = true
  chrono = { workspace = true, default-features = false, features = ["now", "serde"] }
  derive_more = { workspace = true, features = ["debug", "display"] }
  once_cell.workspace = true
  rlp.workspace = true
  serde.workspace = true
  serde_json.workspace = true
  serde_with = { workspace = true, features = ["hex"] }
  ciborium = { workspace = true, optional = true }
  thiserror.workspace = true
  num_enum.workspace = true
  hex.workspace = true
  prost = { workspace = true, optional = true }
  tracing.workspace = true
  
  # Crypto stuff
  blake2.workspace = true
  
  [dev-dependencies]
  assert_matches.workspace = true
  bincode.workspace = true
  serde_urlencoded.workspace = true
  
  [build-dependencies]
  zksync_protobuf_build = { workspace = true, optional = true }
  
  [features]
  protobuf = ["dep:prost", "dep:zksync_protobuf", "dep:zksync_protobuf_build"]
  contract-verification = ["dep:ciborium"]
  