[package]
name = "air-interpreter"
version = "0.58.0"
description = "Crate-wrapper for air"
authors = ["Fluence Labs"]
edition = "2021"
publish = false
keywords = ["fluence", "air", "webassembly", "programming-language"]
categories = ["wasm"]

[lib]
name = "air_interpreter_client"
crate-type = ["cdylib"]
path = "src/wasm_bindgen.rs"

[[bin]]
name = "air_interpreter_server"
path = "src/marine.rs"

[dependencies]
aquavm-air = { version = "0.58.0", path = "../air" }
air-interpreter-interface = { version = "0.17.1", path = "../crates/air-lib/interpreter-interface" }
air-log-targets = { version = "0.1.0", path = "../crates/air-lib/log-targets" }

marine-rs-sdk = {version = "0.10.2", features = ["logger"] }

wasm-bindgen = "=0.2.83"

log = "0.4.20"
serde = { version = "1.0.190", features = [ "derive", "rc" ] }
serde_json = "1.0.108"
tracing = "0.1.40"
# exclude tracing-log feature that interferes with the log crate:
tracing-subscriber = { version = "0.3.17", default-features = false, features = [ "env-filter", "json", "smallvec", "time", "fmt" ] }

[features]
# indicates that this library should be compiled for the marine target,
# otherwise it will be compiled for the wasm bindgen target
marine = []
gen_signatures = ["aquavm-air/gen_signatures"]
check_signatures = ["aquavm-air/check_signatures"]

default = ["check_signatures", "gen_signatures"]
