Path: blob/main/examples/min-platform/embedding/Cargo.toml
3072 views
[package]1name = "embedding"2version.workspace = true3authors.workspace = true4edition.workspace = true5rust-version.workspace = true67[lints]8workspace = true910[dependencies]11# Note that default-features of wasmtime are disabled and only those required12# are enabled, in this case compilation is done in the guest from the wasm text13# format so `cranelift` and `wat` are enabled.14wasmtime = { workspace = true, features = ['runtime'] }1516# Following deps are only required for wasi portion:17wasmtime-wasi-io = { workspace = true, optional = true }1819# Memory allocator used in this example (not required, however)20dlmalloc = "0.2.4"2122[target.'cfg(target_arch = "x86_64")'.dependencies]23raw-cpuid = "11.5.0"2425[lib]26crate-type = ['staticlib']27test = false28doctest = false2930[features]31default = ["wasi"]32custom = ['wasmtime/custom-virtual-memory', 'wasmtime/custom-native-signals']33wasi = [34'wasmtime/component-model',35'wasmtime/async',36'dep:wasmtime-wasi-io',37]383940