Skip to content

Commit

Permalink
feat(rpc): implement wasmtime_rpc::link_function
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
  • Loading branch information
rvolosatovs committed Jun 3, 2024
1 parent 23409ca commit 60383dd
Show file tree
Hide file tree
Showing 9 changed files with 1,198 additions and 0 deletions.
69 changes: 69 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ members = [
"crates/bench-api",
"crates/c-api/artifact",
"crates/environ/fuzz",
"crates/rpc",
"crates/test-programs",
"crates/wasi-preview1-component-adapter",
"crates/wasi-preview1-component-adapter/verify",
Expand Down Expand Up @@ -320,6 +321,9 @@ humantime = "2.0.0"
postcard = { version = "1.0.8", default-features = false, features = ['alloc'] }
criterion = { version = "0.5.0", default-features = false, features = ["html_reports", "rayon"] }
rustc-hash = "1.1.0"
tokio-util = "0.7.4"
wasm-tokio = "0.4.0"
wrpc-transport = "0.25.0"

# =============================================================================
#
Expand Down
28 changes: 28 additions & 0 deletions crates/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[package]
name = "wasmtime-rpc"
description = "RPC-based Wasmtime functionality extensions"

version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true

[dependencies]
anyhow = { workspace = true }
bytes = { workspace = true }
futures = { workspace = true, features = ["alloc"] }
tracing = { workspace = true }
tokio = { workspace = true, features = ["macros"] }
tokio-util = { workspace = true, features = ["codec"] }
wasm-tokio = { workspace = true }
wasmtime = { workspace = true }
wasmtime-wasi = { workspace = true }
wrpc-transport = { workspace = true }

[dev-dependencies]
test-log = { workspace = true }
test-programs-artifacts = { workspace = true }
tracing-subscriber = { workspace = true }

[lints]
workspace = true
Loading

0 comments on commit 60383dd

Please sign in to comment.