[package]
name = "wasmer-runtime"
version = "0.8.0"
description = "Wasmer runtime library"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
repository = "https://github.com/wasmerio/wasmer"
edition = "2018"
readme = "README.md"

[dependencies]
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.8.0", optional = true }
lazy_static = "1.4"
memmap = "0.7"

[dependencies.wasmer-runtime-core]
path = "../runtime-core"
version = "0.8.0"

[dependencies.wasmer-clif-backend]
path = "../clif-backend"
version = "0.8.0"
optional = true

[dev-dependencies]
tempfile = "3.1"
criterion = "0.2"
wabt = "0.9.1"

[dependencies.wasmer-llvm-backend]
path = "../llvm-backend"
optional = true

[features]
default = ["cranelift", "default-backend-cranelift"]
cranelift = ["wasmer-clif-backend"]
cache = ["cranelift"]
debug = ["wasmer-clif-backend/debug", "wasmer-runtime-core/debug"]
llvm = ["wasmer-llvm-backend"]
singlepass = ["wasmer-singlepass-backend"]
default-backend-singlepass = ["singlepass"]
default-backend-llvm = ["llvm"]
default-backend-cranelift = ["cranelift"]

[[bench]]
name = "nginx"
harness = false

[[bench]]
name = "many_instances"
harness = false
