[package]
name = "wasmer-compiler-cranelift"
description = "Cranelift compiler for Wasmer WebAssembly runtime"
categories = ["wasm"]
keywords = ["wasm", "webassembly", "compiler", "cranelift"]
documentation = "https://docs.rs/wasmer-compiler-cranelift/"
readme = "README.md"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true
[dependencies]
wasmer-compiler = { path = "../compiler", version = "=5.0.1", features = [
"translator",
"compiler",
], default-features = false }
wasmer-types = { path = "../types", version = "=5.0.1", default-features = false, features = [
"std",
] }
cranelift-entity = { version = "=0.110.2", default-features = false }
cranelift-codegen = { version = "=0.110.2", default-features = false, features = [
"x86",
"arm64",
"riscv64",
] }
cranelift-frontend = { version = "=0.110.2", default-features = false }
itertools = "0.12.0"
tracing = "0.1"
hashbrown = { version = "0.11", optional = true }
rayon = { version = "1.5", optional = true }
more-asserts = "0.2"
gimli = { workspace = true, optional = true }
smallvec = "1.6"
target-lexicon = { version = "0.12.2", default-features = false }
[dev-dependencies]
cranelift-codegen = { version = "=0.110.2", features = ["all-arch"] }
lazy_static = "1.4"
[badges]
maintenance = { status = "actively-developed" }
[features]
default = ["std", "unwind", "rayon"]
wasm = ["std", "unwind"]
unwind = ["cranelift-codegen/unwind", "gimli"]
std = [
"cranelift-codegen/std",
"cranelift-frontend/std",
"wasmer-compiler/std",
"wasmer-types/std",
]
core = ["hashbrown", "cranelift-codegen/core", "cranelift-frontend/core"]
enable-serde = []
[package.metadata.docs.rs]
rustc-args = ["--cfg", "docsrs"]