[package]
name = "wasmer-runtime-core"
version = "0.17.0"
description = "Wasmer runtime core library"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
repository = "https://github.com/wasmerio/wasmer"
keywords = ["wasm", "webassembly", "runtime"]
categories = ["wasm"]
edition = "2018"

[dependencies]
nix = "0.15"
page_size = "0.4"
wasmparser = "0.51.3"
parking_lot = "0.10.0"
lazy_static = "1.4"
errno = "0.2"
libc = "0.2.68"
hex = "0.4"
smallvec = "1"
bincode = "1.1"
wasm-debug = { optional = true, version = "0.2.0" }
target-lexicon = "0.10"

[dependencies.indexmap]
version = "1.2"
features = ["serde-1"]

# Dependencies for caching.
[dependencies.serde]
version = "1.0"
# This feature is required for serde to support serializing/deserializing reference counted pointers (e.g. Rc and Arc).
features = ["rc"]
[dependencies.serde_derive]
version = "1.0"
[dependencies.serde_bytes]
version = "0.11"
[dependencies.serde-bench]
version = "0.0.7"
[dependencies.blake3]
version = "0.3.1"
[dependencies.digest]
version = "0.8"

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["memoryapi"] }

[build-dependencies]
blake3 = "0.3.1"
rustc_version = "0.2"
cc = "1.0"

[features]
managed = []
deterministic-execution = ["wasmparser/deterministic"]
# generate debug information from Wasm DWARF for use with the GDB JIT interface
generate-debug-information = ["wasm-debug"]
# don't export symbols related to the GDB JIT interafce, LLVM or some other native
# code will be providing them
generate-debug-information-no-export-symbols = []
# enable DynamicFunc's for closures with captured environment.
dynamicfunc-fat-closures = []
