1
0
mirror of https://github.com/containers/youki synced 2024-11-23 01:11:58 +01:00

chore(deps): bump wasmedge-sdk from 0.9.0 to 0.11.0 (#2223)

* chore(deps): bump wasmedge-sdk from 0.9.0 to 0.11.0

Bumps [wasmedge-sdk](https://github.com/WasmEdge/WasmEdge) from 0.9.0 to 0.11.0.
- [Release notes](https://github.com/WasmEdge/WasmEdge/releases)
- [Changelog](https://github.com/WasmEdge/WasmEdge/blob/master/Changelog.md)
- [Commits](https://github.com/WasmEdge/WasmEdge/compare/0.9.0...0.11.0)

---
updated-dependencies:
- dependency-name: wasmedge-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove VM type generics as not needed with this release

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
This commit is contained in:
dependabot[bot] 2023-08-01 22:44:16 +05:30 committed by GitHub
parent cf059c4138
commit 2d6fd7650b
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 87 additions and 17 deletions

100
Cargo.lock generated

@ -2496,6 +2496,48 @@ dependencies = [
"indexmap 1.9.3",
]
[[package]]
name = "phf"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc"
dependencies = [
"phf_macros",
"phf_shared",
]
[[package]]
name = "phf_generator"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0"
dependencies = [
"phf_shared",
"rand",
]
[[package]]
name = "phf_macros"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b"
dependencies = [
"phf_generator",
"phf_shared",
"proc-macro2",
"quote",
"syn 2.0.28",
]
[[package]]
name = "phf_shared"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b"
dependencies = [
"siphasher",
]
[[package]]
name = "pin-project"
version = "1.1.2"
@ -3466,6 +3508,19 @@ dependencies = [
"digest",
]
[[package]]
name = "sha256"
version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "386f700b0c798d92ac20a53342c240ff9d58030c3b845fbaeb92eead3a774792"
dependencies = [
"async-trait",
"bytes",
"hex",
"sha2",
"tokio",
]
[[package]]
name = "sharded-slab"
version = "0.1.4"
@ -3515,6 +3570,12 @@ version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a"
[[package]]
name = "siphasher"
version = "0.3.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
[[package]]
name = "slab"
version = "0.4.8"
@ -4530,9 +4591,9 @@ dependencies = [
[[package]]
name = "wasm-encoder"
version = "0.31.1"
version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41763f20eafed1399fff1afb466496d3a959f58241436cfdc17e3f5ca954de16"
checksum = "b2f8e9778e04cbf44f58acc301372577375a666b966c50b03ef46144f80436a8"
dependencies = [
"leb128",
]
@ -4543,9 +4604,9 @@ version = "0.1.0"
[[package]]
name = "wasmedge-macro"
version = "0.4.0"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "372985c17ffd2705e0cc14aa85e96c546d04823aec07ec1e0da0a2983c9eb655"
checksum = "d37333e0a349cf98888d98fd8f227efd2cb751ee58d1df0507a1d8230431bd60"
dependencies = [
"proc-macro2",
"quote",
@ -4554,31 +4615,40 @@ dependencies = [
[[package]]
name = "wasmedge-sdk"
version = "0.9.0"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e30b3d1a423ee62c0016bbfd07bdca4669a30cd167d7ff528caff559b467c17b"
checksum = "03267809400db5afeb293e8a4a863d04d8a17372759ca49b1de449e70104b4c4"
dependencies = [
"anyhow",
"cfg-if",
"num-derive",
"num-traits",
"thiserror",
"wasmedge-macro",
"wasmedge-sys",
"wasmedge-types",
"wat",
]
[[package]]
name = "wasmedge-sys"
version = "0.14.0"
version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3db99e2ef8cf618f832f1ecf32c3b86e8ce0fb2f31013426040ae514a981312c"
checksum = "504dde8f8eeb0fde6b159794995544a1217b1e96d0fd3858696344ba6e96308d"
dependencies = [
"bindgen",
"cfg-if",
"cmake",
"flate2",
"lazy_static",
"libc",
"parking_lot",
"paste",
"phf",
"rand",
"reqwest",
"scoped-tls",
"sha256",
"tar",
"thiserror",
"wasmedge-macro",
"wasmedge-types",
@ -5172,23 +5242,23 @@ dependencies = [
[[package]]
name = "wast"
version = "62.0.1"
version = "61.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8ae06f09dbe377b889fbd620ff8fa21e1d49d1d9d364983c0cdbf9870cb9f1f"
checksum = "dc6b347851b52fd500657d301155c79e8c67595501d179cef87b6f04ebd25ac4"
dependencies = [
"leb128",
"memchr",
"unicode-width",
"wasm-encoder 0.31.1",
"wasm-encoder 0.30.0",
]
[[package]]
name = "wat"
version = "1.0.69"
version = "1.0.67"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "842e15861d203fb4a96d314b0751cdeaf0f6f8b35e8d81d2953af2af5e44e637"
checksum = "459e764d27c3ab7beba1ebd617cc025c7e76dea6e7c5ce3189989a970aea3491"
dependencies = [
"wast 62.0.1",
"wast 61.0.0",
]
[[package]]

@ -42,7 +42,7 @@ clap_complete = "4.1.3"
caps = "0.5.5"
wasmer = { version = "4.0.0", optional = true }
wasmer-wasix = { version = "0.9.0", optional = true }
wasmedge-sdk = { version = "0.9.0", optional = true }
wasmedge-sdk = { version = "0.11.0", optional = true }
wasmtime = {version = "10.0.1", optional = true }
wasmtime-wasi = {version = "10.0.1", optional = true }
tracing = { version = "0.1.37", features = ["attributes"]}

@ -35,7 +35,7 @@ pub fn get_executor() -> Executor {
// create a vm with the config settings
let mut vm = VmBuilder::new()
.with_config(config)
.build::<()>()
.build()
.map_err(|err| ExecutorError::Other(format!("failed to create wasmedge vm: {}", err)))?
.register_module_from_file("main", cmd)
.map_err(|err| {