[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.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 = "=4.0.0"
[dependencies.wasmer-types]
default-features = false
version = "=4.0.0"
[dependencies.wasmparser]
default-features = false
optional = true
version = "0.95"
[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 = "2021"
homepage = "https://wasmer.io/"
keywords = ["wasm", "webassembly", "compiler"]
license = "MIT"
name = "wasmer-compiler"
readme = "README.md"
repository = "https://github.com/wasmerio/wasmer"
rust-version = "1.67"
version = "4.0.0"
[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 = "=4.0.0"
[target."cfg(target_os = \"windows\")".dependencies.winapi]
features = ["winnt", "impl-default"]
version = "0.3"