[package] name = "hc-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 = { package = "hc-wasmer-compiler", path = "../compiler", version = "=4.3.6-hc.1", features = ["translator", "compiler"], default-features = false } wasmer-types = { package = "hc-wasmer-types", path = "../types", version = "=4.3.6-hc.1", default-features = false, features = ["std"] } cranelift-entity = { version = "0.91.1", default-features = false } cranelift-codegen = { version = "0.91.1", default-features = false, features = ["x86", "arm64", "riscv64"] } cranelift-frontend = { version = "0.91.1", default-features = false } tracing = "0.1" hashbrown = { version = "0.11", optional = true } rayon = { version = "1.5", optional = true } more-asserts = "0.2" gimli = { version = "0.26", optional = true } smallvec = "1.6" target-lexicon = { version = "0.12.2", default-features = false } [dev-dependencies] cranelift-codegen = { version = "0.91.1", 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"] [package.metadata.docs.rs] rustc-args = ["--cfg", "docsrs"]