Skip to content

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

508 B
Raw Blame
[package]
name = "min-platform-host"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true

[lints]
workspace = true

[dependencies]
wasmtime = { workspace = true, features = ['cranelift', 'wat'] }

# The host only does anything on Linux, see `src/main.rs`.
[target.'cfg(target_os = "linux")'.dependencies]
libloading = "0.8"
object = { workspace = true, features = ['std'] }

[features]
default = ["wasi"]
custom = []
wasi = [ "wasmtime/component-model" ]