Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

1.1 KB
Raw Blame
[package]
name = "cranelift-module"
version = "0.139.0-dev"
authors = ["The Cranelift Project Developers"]
description = "Support for linking functions and data with Cranelift"
repository = "https://github.com/bytecodealliance/wasmtime"
documentation = "https://docs.rs/cranelift-module"
categories = ["no-std"]
license = "Apache-2.0 WITH LLVM-exception"
edition.workspace = true
rust-version.workspace = true

[lints]
workspace = true

[dependencies]
cranelift-codegen = { workspace = true }
cranelift-control = { workspace = true }
hashbrown = { workspace = true }
anyhow = { workspace = true, features = ['std'] }
serde = { workspace = true, optional = true }
serde_derive = { workspace = true, optional = true }

[features]
default = ["std"]
std = ["cranelift-codegen/std"]
# The "core" feature no longer does anything here either: hashbrown is now an
# unconditional dependency. Kept, empty, for backward compatibility.
core = []

# For dependent crates that want to serialize some parts of cranelift
enable-serde = ["serde", "serde_derive", "cranelift-codegen/enable-serde"]