aquavm/crates/air-lib/test-utils/Cargo.toml
Ivan Boldyrev dcfa51c756 Use pooled AVMRunner for tests
Use pooled `avm::server::AVMRunner` instances of
air_iterpreter_server.wasm to reduce tests' running time.  It avoids
repeated WASM loading and compilation.

On my hardware, `cargo test --release` execution time (precompiled)
decreases from almost 6 minutes to 1.5 minutes.
2022-05-16 13:16:28 +07:00

26 lines
603 B
TOML

[package]
name = "air-test-utils"
version = "0.2.1"
description = "Test utils for the AIR interpreter"
authors = ["Fluence Labs"]
edition = "2018"
license = "Apache-2.0"
publish = false
keywords = ["fluence", "air", "webassembly", "security", "authorization"]
categories = ["wasm"]
[lib]
name = "air_test_utils"
path = "src/lib.rs"
[dependencies]
air = { path = "../../../air" }
air-interpreter-interface = { path = "../interpreter-interface" }
avm-server = { path = "../../../avm/server" }
marine-rs-sdk = "0.6.15"
fstrings = "0.2.3"
object-pool = "0.5.4"
once_cell = "1.10.0"
serde_json = "1.0.61"