Implement RFC 11: Redesigning Wasmtime's APIs (#2897)

Implement Wasmtime's new API as designed by RFC 11. This is quite a large commit which has had lots of discussion externally, so for more information it's best to read the RFC thread and the PR thread.
This commit is contained in:
Alex Crichton
2021-06-03 09:10:53 -05:00
committed by GitHub
parent a5a28b1c5b
commit 7a1b7cdf92
233 changed files with 13349 additions and 11997 deletions

37
Cargo.lock generated
View File

@@ -3804,7 +3804,6 @@ dependencies = [
"wasi-common",
"wasi-tokio",
"wasmtime",
"wasmtime-wiggle",
"wiggle",
]
@@ -3815,7 +3814,6 @@ dependencies = [
"anyhow",
"wasi-crypto",
"wasmtime",
"wasmtime-wiggle",
"wiggle",
]
@@ -3831,7 +3829,6 @@ dependencies = [
"wasmtime",
"wasmtime-runtime",
"wasmtime-wasi",
"wasmtime-wiggle",
"wiggle",
]
@@ -3844,30 +3841,6 @@ dependencies = [
"wast 35.0.2",
]
[[package]]
name = "wasmtime-wiggle"
version = "0.27.0"
dependencies = [
"anyhow",
"proptest",
"wasmtime",
"wasmtime-wiggle-macro",
"wiggle",
"wiggle-borrow",
"witx",
]
[[package]]
name = "wasmtime-wiggle-macro"
version = "0.27.0"
dependencies = [
"proc-macro2",
"quote",
"syn",
"wiggle-generate",
"witx",
]
[[package]]
name = "wast"
version = "33.0.0"
@@ -3909,23 +3882,18 @@ dependencies = [
name = "wiggle"
version = "0.27.0"
dependencies = [
"anyhow",
"async-trait",
"bitflags",
"proptest",
"thiserror",
"tracing",
"wasmtime",
"wiggle-macro",
"wiggle-test",
"witx",
]
[[package]]
name = "wiggle-borrow"
version = "0.27.0"
dependencies = [
"wiggle",
]
[[package]]
name = "wiggle-generate"
version = "0.27.0"
@@ -3961,7 +3929,6 @@ dependencies = [
"tracing",
"tracing-subscriber",
"wiggle",
"wiggle-borrow",
]
[[package]]