zksync_vm2 0.5.0

High-performance rewrite of the out-of-circuit VM for ZKsync Era
Documentation
# 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 = "2021"
name = "zksync_vm2"
version = "0.5.0"
authors = ["The Matter Labs Team <hello@matterlabs.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance rewrite of the out-of-circuit VM for ZKsync Era"
homepage = "https://zksync.io/"
readme = "README.md"
keywords = [
    "blockchain",
    "zksync",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/matter-labs/vm2"

[features]
default = []
single_instruction_test = [
    "arbitrary",
    "primitive-types/arbitrary",
    "zk_evm",
    "anyhow",
]

[lib]
name = "zksync_vm2"
path = "src/lib.rs"

[[bench]]
name = "nested_near_call"
path = "benches/nested_near_call.rs"
harness = false

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.arbitrary]
version = "1"
features = ["derive"]
optional = true

[dependencies.enum_dispatch]
version = "0.3"

[dependencies.primitive-types]
version = "0.12.1"

[dependencies.zk_evm]
version = "0.153.0"
optional = true

[dependencies.zk_evm_abstractions]
version = "0.153.0"

[dependencies.zkevm_opcode_defs]
version = "0.153.0"

[dependencies.zksync_vm2_interface]
version = "=0.5.0"

[dev-dependencies.divan]
version = "0.1"

[dev-dependencies.proptest]
version = "1.4"

[lints.clippy]
inline_always = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
struct_field_names = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"