3208f208c0
## Changes
### Clippy Fixes
- Fixed deprecated `cargo_bin` usage in 27 test files (added #![allow(deprecated)])
- Fixed uninlined_format_args in zombienet-sdk-tests
- Fixed subxt API changes in revive/rpc/tests.rs (fetch signature, StorageValue)
- Fixed dead_code warnings in validator-pool and identity-kyc mocks
- Fixed field name `i` -> `_i` in tasks example
### CI Infrastructure
- Added .claude/WORKFLOW_PLAN.md for tracking CI fix progress
- Updated lychee.toml and taplo.toml configs
### Files Modified
- 27 test files with deprecated cargo_bin fix
- bizinikiwi/pezframe/revive/rpc/src/tests.rs (subxt API)
- pezkuwi/pezpallets/validator-pool/src/{mock,tests}.rs
- pezcumulus/teyrchains/pezpallets/identity-kyc/src/mock.rs
- bizinikiwi/pezframe/examples/tasks/src/tests.rs
## Status
- cargo clippy: PASSING
- Next: cargo fmt, zepter, workspace checks
74 lines
2.1 KiB
TOML
74 lines
2.1 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 = "https://docs.rs/pezsc-executor-wasmtime"
|
|
|
|
[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",
|
|
]
|