[badges.maintenance]
status = "experimental"
[dependencies.backtrace]
version = "0.3"
[dependencies.bytes]
version = "1.0"
[dependencies.cfg-if]
version = "1.0"
[dependencies.enum-iterator]
version = "0.7.0"
[dependencies.enumset]
version = "1.1.0"
[dependencies.hashbrown]
optional = true
version = "0.11"
[dependencies.lazy_static]
version = "1.4"
[dependencies.leb128]
version = "0.2"
[dependencies.libc]
default-features = false
version = "^0.2"
[dependencies.loupe]
features = ["indexmap", "enable-indexmap"]
optional = true
version = "0.1.3"
[dependencies.memmap2]
version = "0.6"
[dependencies.more-asserts]
version = "0.2"
[dependencies.rkyv]
features = ["indexmap-2", "bytes-1"]
version = "0.8.8"
[dependencies.self_cell]
version = "1.0"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.serde_bytes]
optional = true
version = "0.11"
[dependencies.shared-buffer]
version = "0.1.4"
[dependencies.smallvec]
version = "1.6"
[dependencies.thiserror]
version = "1.0"
[dependencies.wasmer-object]
optional = true
version = "=5.0.1"
[dependencies.wasmer-types]
default-features = false
version = "=5.0.1"
[dependencies.wasmparser]
default-features = false
features = ["validate"]
optional = true
version = "0.216.0"
[dependencies.xxhash-rust]
features = ["xxh64"]
version = "0.8.10"
[features]
artifact-size = ["dep:loupe"]
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 = []
[lib]
name = "wasmer_compiler"
path = "src/lib.rs"
[package]
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
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.81"
version = "5.0.1"
[package.metadata.docs.rs]
features = ["static-artifact-create", "static-artifact-load", "wasmer-artifact-create", "wasmer-artifact-load"]
rustc-args = ["--cfg", "docsrs"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.region]
version = "3.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-vm]
version = "=5.0.1"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
features = ["Win32_System_Diagnostics_Debug"]
version = "0.59"