Path: blob/main/examples/min-platform/embedding/Cargo.toml
2450 views
[package]1name = "embedding"2version.workspace = true3authors.workspace = true4edition.workspace = true5rust-version.workspace = true67[lints]8workspace = true910[dependencies]11anyhow = { workspace = true }1213# Note that default-features of wasmtime are disabled and only those required14# are enabled, in this case compilation is done in the guest from the wasm text15# format so `cranelift` and `wat` are enabled.16wasmtime = { workspace = true, features = ['runtime'] }1718# Following deps are only required for wasi portion:19wasmtime-wasi-io = { workspace = true, optional = true }2021# Memory allocator used in this example (not required, however)22dlmalloc = "0.2.4"2324[target.'cfg(target_arch = "x86_64")'.dependencies]25raw-cpuid = "11.5.0"2627[lib]28crate-type = ['staticlib']29test = false30doctest = false3132[features]33default = ["wasi"]34custom = ['wasmtime/custom-virtual-memory', 'wasmtime/custom-native-signals']35wasi = [36'wasmtime/component-model',37'wasmtime/async',38'dep:wasmtime-wasi-io',39]404142