# 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 = "2024"
rust-version = "1.88.0"
name = "tycho-vm"
version = "0.3.4"
authors = [
    "Rexagon <i.kalinin@dexpa.io>",
    "MrWad3r <s.eliseev@dexpa.io>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TON-compatible VM for the Tycho node."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/broxus/tycho-vm"
resolver = "2"

[features]
arbitrary = [
    "dep:arbitrary",
    "tycho-types/arbitrary",
    "num-bigint/arbitrary",
]
dump = ["tycho-vm-proc/dump"]
tracing = [
    "dep:tracing",
    "tycho-types/base64",
]

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

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

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

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

[dependencies.ahash]
version = "0.8"

[dependencies.anyhow]
version = "1.0"

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

[dependencies.bitflags]
version = "2.4"

[dependencies.blake2]
version = "0.10.6"

[dependencies.dyn-clone]
version = "1.0"

[dependencies.num-bigint]
version = "0.4"

[dependencies.num-integer]
version = "0.1"

[dependencies.num-traits]
version = "0.2"

[dependencies.sha2]
version = "0.10.8"

[dependencies.thiserror]
version = "2.0"

[dependencies.tl-proto]
version = "0.5.2"

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tycho-crypto]
version = "0.4.0"
features = ["tl-proto"]

[dependencies.tycho-types]
version = "0.3.3"
features = [
    "bigint",
    "models",
]
default-features = false

[dependencies.tycho-vm-proc]
version = "0.3.3"

[dev-dependencies.criterion]
version = "0.7"

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.rand]
version = "0.9"

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

[dev-dependencies.tracing-test]
version = "0.2"

[dev-dependencies.tycho-asm-macros]
version = "0.2.0"

[dev-dependencies.tycho-types]
version = "0.3.3"
features = [
    "bigint",
    "models",
    "base64",
    "bigint",
    "rand9",
]
default-features = false
