1[package] 2authors.workspace = true 3description = "INTERNAL: Wasmtime's core utilities and helpers with minimal dependencies" 4edition.workspace = true 5license = "Apache-2.0 WITH LLVM-exception" 6name = "wasmtime-internal-core" 7rust-version.workspace = true 8version.workspace = true 9 10[dependencies] 11# This crate should have *very* minimal dependencies! Don't add new ones 12# lightly. 13anyhow = { workspace = true, optional = true } 14hashbrown = { workspace = true, features = ["default-hasher"] } 15libm = { workspace = true } 16serde = { workspace = true, optional = true } 17 18[lints] 19workspace = true 20 21[features] 22# Enable the use of the `std` crate. 23std = [] 24# Enable backtraces in errors. 25backtrace = ["std"] 26# Enable the `From<Error> for anyhow::Error` implementation and 27# `Error::from_anyhow` constructor. 28anyhow = ["dep:anyhow"] 29serde = ["dep:serde"] 30