[badges.maintenance]
status = "experimental"
[dependencies.backtrace]
version = "0.3"
[dependencies.cfg-if]
version = "1.0"
[dependencies.enum-iterator]
version = "0.7.0"
[dependencies.enumset]
version = "1.0.2"
[dependencies.hashbrown]
optional = true
version = "0.11"
[dependencies.lazy_static]
version = "1.4"
[dependencies.leb128]
version = "0.2"
[dependencies.memmap2]
version = "0.5"
[dependencies.more-asserts]
version = "0.2"
[dependencies.rustc-demangle]
version = "0.1"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.serde_bytes]
optional = true
version = "0.11"
[dependencies.smallvec]
version = "1.6"
[dependencies.thiserror]
version = "1.0"
[dependencies.wasmer-object]
optional = true
version = "=3.1.1"
[dependencies.wasmer-types]
default-features = false
version = "=3.1.1"
[dependencies.wasmparser]
default-features = false
optional = true
version = "0.83"
[features]
compiler = ["translator"]
core = ["hashbrown", "wasmer-types/core"]
default = ["std"]
enable-serde = ["serde", "serde_bytes", "wasmer-types/enable-serde"]
static-artifact-create = ["wasmer-object"]
static-artifact-load = []
std = ["wasmer-types/std"]
translator = ["wasmparser"]
wasmer-artifact-create = []
wasmer-artifact-load = []
[package]
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
categories = ["wasm", "no-std"]
description = "Base compiler abstraction for Wasmer WebAssembly runtime"
edition = "2018"
keywords = ["wasm", "webassembly", "compiler"]
license = "MIT OR Apache-2.0 WITH LLVM-exception"
name = "wasmer-compiler"
readme = "README.md"
repository = "https://github.com/wasmerio/wasmer"
resolver = "2"
version = "3.1.1"
[package.metadata.docs.rs]
features = ["static-artifact-create", "static-artifact-load", "wasmer-artifact-create", "wasmer-artifact-load"]
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.region]
version = "3.0"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.wasmer-vm]
version = "=3.1.1"
[target."cfg(target_os = \"windows\")".dependencies.winapi]
features = ["winnt", "impl-default"]
version = "0.3"