Files
pezkuwi-sdk/bizinikiwi/client/executor/wasmtime/Cargo.toml
T
pezkuwichain bd2d665c4e fix: comprehensive feature propagation and dep:serde fixes
- Fix serde optional dependency issues by adding dep:serde to serde features (24 crates)
- Run zepter to propagate runtime-benchmarks, std, try-runtime, serde, experimental, with-tracing, tuples-96 features
- Regenerate umbrella crate with proper feature propagation
- Format all TOML files with taplo

This resolves check-umbrella and check-zepter CI failures.
2026-01-04 20:37:14 +03:00

84 lines
2.3 KiB
TOML

[package]
name = "pezsc-executor-wasmtime"
version = "0.29.0"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage.workspace = true
repository.workspace = true
description = "Defines a `WasmRuntime` that uses the Wasmtime JIT to execute."
readme = "README.md"
documentation.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
log = { workspace = true, default-features = true }
parking_lot = { workspace = true, default-features = true }
# When bumping wasmtime do not forget to also bump rustix
# to exactly the same version as used by wasmtime!
anyhow = { workspace = true }
pezsc-allocator = { workspace = true, default-features = true }
pezsc-executor-common = { workspace = true, default-features = true }
pezsp-runtime-interface = { workspace = true, default-features = true }
pezsp-wasm-interface = { features = [
"wasmtime",
], workspace = true, default-features = true }
wasmtime = { features = [
"addr2line",
"cache",
"cranelift",
"demangle",
"gc",
"gc-null",
"parallel-compilation",
"pooling-allocator",
"profiling",
"threads",
], workspace = true }
# Here we include the rustix crate in the exactly same semver-compatible version as used by
# wasmtime and enable its 'use-libc' flag.
#
# By default rustix directly calls the appropriate syscalls completely bypassing libc;
# this doesn't have any actual benefits for us besides making it harder to debug memory
# problems (since then `mmap` etc. cannot be easily hooked into).
rustix = { features = [
"fs",
"mm",
"param",
"std",
"use-libc",
], workspace = true }
[dev-dependencies]
cargo_metadata = { workspace = true }
codec = { workspace = true, default-features = true }
paste = { workspace = true, default-features = true }
pezsc-runtime-test = { workspace = true }
pezsp-io = { workspace = true, default-features = true }
tempfile = { workspace = true }
wat = { workspace = true }
[features]
runtime-benchmarks = [
"pezsc-runtime-test/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime-interface/runtime-benchmarks",
]
std = [
"anyhow/std",
"log/std",
"pezsc-allocator/std",
"pezsc-executor-common/std",
"rustix/std",
"wasmtime/std",
]
serde = []
with-tracing = []