Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Update wasmtime dependencies version #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
[package]
name = "wasi-experimental-http-wasmtime-sample"
version = "0.10.0"
authors = [ "Radu Matei <[email protected]>" ]
edition = "2021"
name = "wasi-experimental-http-wasmtime-sample"
version = "0.10.0"
authors = ["Radu Matei <[email protected]>"]
edition = "2021"

[dependencies]
anyhow = "1.0"
futures = "0.3"
http = "0.2"
reqwest = { version = "0.11", default-features = true, features = [
"json",
"blocking",
] }
structopt = "0.3"
tokio = { version = "1.4", features = [ "full" ] }
wasmtime = "0.35"
wasmtime-wasi = "0.35"
wasi-common = "0.35"
wasi-cap-std-sync = "0.35"
wasi-experimental-http = { path = "crates/wasi-experimental-http" }
wasi-experimental-http-wasmtime = { path = "crates/wasi-experimental-http-wasmtime" }
anyhow = "1.0"
futures = "0.3"
http = "0.2"
reqwest = { version = "0.11", default-features = true, features = [
"json",
"blocking",
] }
structopt = "0.3"
tokio = { version = "1.4", features = ["full"] }
wasmtime = "2.0.1"
wasmtime-wasi = "2.0.1"
wasi-common = "2.0.1"
wasi-cap-std-sync = "2.0.1"
wasi-experimental-http = { path = "crates/wasi-experimental-http" }
wasi-experimental-http-wasmtime = { path = "crates/wasi-experimental-http-wasmtime" }

[workspace]
members = [
"crates/wasi-experimental-http",
"crates/wasi-experimental-http-wasmtime",
"tests/rust",
]
members = [
"crates/wasi-experimental-http",
"crates/wasi-experimental-http-wasmtime",
"tests/rust",
]

[[bin]]
name = "wasmtime-http"
path = "bin/wasmtime-http.rs"
name = "wasmtime-http"
path = "bin/wasmtime-http.rs"
1 change: 0 additions & 1 deletion bin/wasmtime-http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ fn create_instance(
) -> Result<(Instance, Store<WasmtimeHttpCtx>), Error> {
let mut wasmtime_config = wasmtime::Config::default();
wasmtime_config.wasm_multi_memory(true);
wasmtime_config.wasm_module_linking(true);
let engine = Engine::new(&wasmtime_config)?;
let mut linker = Linker::new(&engine);

Expand Down
46 changes: 23 additions & 23 deletions crates/wasi-experimental-http-wasmtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
[package]
name = "wasi-experimental-http-wasmtime"
version = "0.10.0"
authors = [ "Radu Matei <[email protected]>" ]
edition = "2021"
repository = "https://github.com/deislabs/wasi-experimental-http"
license = "MIT"
description = "Experimental HTTP library for WebAssembly in Wasmtime"
readme = "readme.md"
name = "wasi-experimental-http-wasmtime"
version = "0.10.0"
authors = ["Radu Matei <[email protected]>"]
edition = "2021"
repository = "https://github.com/deislabs/wasi-experimental-http"
license = "MIT"
description = "Experimental HTTP library for WebAssembly in Wasmtime"
readme = "readme.md"

[dependencies]
anyhow = "1.0"
bytes = "1"
futures = "0.3"
http = "0.2"
reqwest = { version = "0.11", default-features = true, features = [
"json",
"blocking",
] }
thiserror = "1.0"
tokio = { version = "1.4.0", features = [ "full" ] }
tracing = { version = "0.1", features = [ "log" ] }
url = "2.2.1"
wasmtime = "0.35"
wasmtime-wasi = "0.35"
wasi-common = "0.35"
anyhow = "1.0"
bytes = "1"
futures = "0.3"
http = "0.2"
reqwest = { version = "0.11", default-features = true, features = [
"json",
"blocking",
] }
thiserror = "1.0"
tokio = { version = "1.4.0", features = ["full"] }
tracing = { version = "0.1", features = ["log"] }
url = "2.2.1"
wasmtime = "2.0.1"
wasmtime-wasi = "2.0.1"
wasi-common = "2.0.1"