You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+52-36Lines changed: 52 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,100 +39,116 @@ wRPC fully supports the unreleased native [WIT] `stream` and `future` data types
39
39
40
40
## Quickstart
41
41
42
-
wRPC usage examples for different programming languages can be found at [./examples](./examples).
42
+
wRPC usage examples for different programming languages can be found at [examples](./examples).
43
43
44
44
There are 2 different kinds of examples:
45
45
- Native wRPC applications, tied to a particular wRPC transport (currently, NATS only)
46
46
- Generic Wasm components, that need to run in a Wasm runtime. Those can be executed, for example, using `wrpc-wasmtime-nats`, to polyfill imports at runtime and serve exports using wRPC.
47
47
48
-
Here is a guide demonstrating how to bootstrap the Rust Wasm component example implemented by:
-`nats-server` >= 2.10.20 or `docker` >= 24.0.6 (or any other OCI runtime)
58
60
-`rust` >= 1.80.1
59
61
60
62
#### How-To
61
63
62
-
In this example we will be using `wasm32-wasip1` target, which is available in stable Rust and configured in [`rust-toolchain.toml`](./rust-toolchain.toml) in the root of this repository. [`wasm32-wasip2`](https://doc.rust-lang.org/nightly/rustc/platform-support/wasm32-wasip2.html) can be used as well.
64
+
In the steps below, `wasm32-wasip1` target will be used, because it is currently available in stable Rust and also conveniently configured in [`rust-toolchain.toml`](./rust-toolchain.toml) in the root of this repository.
65
+
[`wasm32-wasip2`](https://doc.rust-lang.org/nightly/rustc/platform-support/wasm32-wasip2.html) can be used instead, if desired.
0 commit comments