[package]
edition = "2021"
name = "warp-runtime"
version = "1.4.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runs compiled Warp programs without the compiler: the stub of Warp's standalone executables"
homepage = "https://warp.pannous.com/"
readme = false
license = "MIT"
repository = "https://github.com/pannous/warp"
[features]
compiler = [
"engine",
"wasmtime/cranelift",
"wasmtime/component-model",
]
default = ["engine"]
engine = [
"dep:wasmtime",
"dep:miniz_oxide",
"dep:serde_json",
"dep:libloading",
]
library = ["compiler"]
profiling = [
"engine",
"wasmtime/profiling",
]
webview = [
"dep:wry",
"dep:winit",
"dep:objc2",
]
[lib]
name = "warp_runtime"
path = "src/lib.rs"
[[bin]]
name = "warp-page-runtime"
path = "src/page_main.rs"
required-features = [
"engine",
"webview",
]
[[bin]]
name = "warp-runtime"
path = "src/main.rs"
required-features = ["engine"]
[dependencies.libloading]
version = "0.9"
optional = true
[dependencies.miniz_oxide]
version = "0.9"
optional = true
[dependencies.serde_json]
version = "1.0"
features = [
"preserve_order",
"float_roundtrip",
]
optional = true
[dependencies.wasmtime]
version = "49.0.1"
features = [
"anyhow",
"call-hook",
"gc",
"gc-copying",
"runtime",
"std",
]
optional = true
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.winit]
version = "0.30"
features = ["rwh_06"]
optional = true
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.wry]
version = "0.57"
optional = true
default-features = false
[target."cfg(unix)".dependencies.libc]
version = "0.2"