mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 04:41:02 +00:00
Bump wasmtime to 5.0.0 (and a few other deps) (#13160)
* Bump `wasmtime` to 4.0.0 (and a few other deps) * Use `Error::msg` instead of `anyhow!` * Bump `wasmtime` to 5.0.0 * Update `Cargo.lock` * Add `wasmtime` feature to `sp-wasm-interface` dependency
This commit is contained in:
@@ -18,9 +18,11 @@ codec = { package = "parity-scale-codec", version = "3.2.2", default-features =
|
||||
impl-trait-for-tuples = "0.2.2"
|
||||
log = { version = "0.4.17", optional = true }
|
||||
wasmi = { version = "0.13", optional = true }
|
||||
wasmtime = { version = "1.0.0", default-features = false, optional = true }
|
||||
wasmtime = { version = "5.0.0", default-features = false, optional = true }
|
||||
anyhow = { version = "1.0.68", optional = true }
|
||||
sp-std = { version = "5.0.0", default-features = false, path = "../std" }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
std = [ "codec/std", "log", "sp-std/std", "wasmi", "wasmtime" ]
|
||||
wasmtime = [ "dep:wasmtime", "anyhow" ]
|
||||
|
||||
@@ -41,6 +41,9 @@ macro_rules! if_wasmtime_is_enabled {
|
||||
if_wasmtime_is_enabled! {
|
||||
// Reexport wasmtime so that its types are accessible from the procedural macro.
|
||||
pub use wasmtime;
|
||||
|
||||
// Wasmtime uses anyhow types but doesn't reexport them.
|
||||
pub use anyhow;
|
||||
}
|
||||
|
||||
/// Result type used by traits in this crate.
|
||||
|
||||
Reference in New Issue
Block a user