# 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 = "fusabi-vm"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance bytecode VM for Fusabi scripting language."
readme = "README.md"
license = "MIT"
repository = "https://github.com/fusabi-lang/fusabi"

[features]
default = []
serde = [
    "dep:serde",
    "dep:bincode",
]

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

[[test]]
name = "test_host_interop"
path = "tests/test_host_interop.rs"

[[test]]
name = "test_placeholder"
path = "tests/test_placeholder.rs"

[[test]]
name = "test_serialization"
path = "tests/test_serialization.rs"

[[test]]
name = "test_stdlib"
path = "tests/test_stdlib.rs"

[[bench]]
name = "alloc"
path = "benches/alloc.rs"

[[bench]]
name = "function_calls"
path = "benches/function_calls.rs"

[[bench]]
name = "op_dispatch"
path = "benches/op_dispatch.rs"

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

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

[dependencies.bincode]
version = "1.3"
optional = true

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]
optional = true

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