From d286e058f81384dc899a36fa02a77a7867650b2d Mon Sep 17 00:00:00 2001 From: Alec Deason Date: Sat, 6 Mar 2021 11:52:00 -0800 Subject: [PATCH 1/4] Add wasm_plugin section This was recently released and isn't in the outline so I figured I'd add a little blurb. --- content/posts/newsletter-019/index.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/content/posts/newsletter-019/index.md b/content/posts/newsletter-019/index.md index c64b23385..9d667fde2 100644 --- a/content/posts/newsletter-019/index.md +++ b/content/posts/newsletter-019/index.md @@ -638,6 +638,21 @@ include: [Mun]: https://mun-lang.org [mun-february]: https://mun-lang.org/blog/2021/03/04/this-month-february + ### [wasm_plugin] + + [wasm_plugin] is a new low-ish level tool for easily hosting WASM based + plugins for modding or scripting. + + It consists of two crates: + - [wasm_plugin_host] which wraps a wasmer instance with methods for calling + functions on the guest plugin. + - [wasm_plugin_guest] which provides an attribute macro to easily export + functions to the host. + +[wasm_plugin]: https://github.com/alec-deason/wasm_plugin +[wasm_plugin_host]: https://lib.rs/crates/wasm_plugin_host +[wasm_plugin_guest]: https://lib.rs/crates/wasm_plugin_guest + ## Popular Workgroup Issues in Github From eae540e2cebc7d55cb5b873269bc131322191814 Mon Sep 17 00:00:00 2001 From: Alec Deason Date: Sat, 6 Mar 2021 11:59:50 -0800 Subject: [PATCH 2/4] Fix indentation --- content/posts/newsletter-019/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/posts/newsletter-019/index.md b/content/posts/newsletter-019/index.md index 9d667fde2..51d031a68 100644 --- a/content/posts/newsletter-019/index.md +++ b/content/posts/newsletter-019/index.md @@ -638,16 +638,16 @@ include: [Mun]: https://mun-lang.org [mun-february]: https://mun-lang.org/blog/2021/03/04/this-month-february - ### [wasm_plugin] +### [wasm_plugin] - [wasm_plugin] is a new low-ish level tool for easily hosting WASM based - plugins for modding or scripting. +[wasm_plugin] is a new low-ish level tool for easily hosting WASM based +plugins for modding or scripting. - It consists of two crates: - - [wasm_plugin_host] which wraps a wasmer instance with methods for calling - functions on the guest plugin. - - [wasm_plugin_guest] which provides an attribute macro to easily export - functions to the host. +It consists of two crates: +- [wasm_plugin_host] which wraps a wasmer instance with methods for calling +functions on the guest plugin. +- [wasm_plugin_guest] which provides an attribute macro to easily export +functions to the host. [wasm_plugin]: https://github.com/alec-deason/wasm_plugin [wasm_plugin_host]: https://lib.rs/crates/wasm_plugin_host From ec2631aedb78a2f6edc8c78b4bac389ea812896f Mon Sep 17 00:00:00 2001 From: Alec Deason Date: Sat, 6 Mar 2021 12:04:06 -0800 Subject: [PATCH 3/4] blank lines around list --- content/posts/newsletter-019/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/posts/newsletter-019/index.md b/content/posts/newsletter-019/index.md index 51d031a68..8414bc737 100644 --- a/content/posts/newsletter-019/index.md +++ b/content/posts/newsletter-019/index.md @@ -644,6 +644,7 @@ include: plugins for modding or scripting. It consists of two crates: + - [wasm_plugin_host] which wraps a wasmer instance with methods for calling functions on the guest plugin. - [wasm_plugin_guest] which provides an attribute macro to easily export From 8b442f5cd3840c8fb8d100fc950fe5fabf799bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrey=20Lesnik=C3=B3v?= Date: Sun, 7 Mar 2021 09:43:54 +0300 Subject: [PATCH 4/4] N19: wasm_plugin: fmt fix --- content/posts/newsletter-019/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/posts/newsletter-019/index.md b/content/posts/newsletter-019/index.md index 8414bc737..7cc3cfd46 100644 --- a/content/posts/newsletter-019/index.md +++ b/content/posts/newsletter-019/index.md @@ -646,9 +646,9 @@ plugins for modding or scripting. It consists of two crates: - [wasm_plugin_host] which wraps a wasmer instance with methods for calling -functions on the guest plugin. + functions on the guest plugin. - [wasm_plugin_guest] which provides an attribute macro to easily export -functions to the host. + functions to the host. [wasm_plugin]: https://github.com/alec-deason/wasm_plugin [wasm_plugin_host]: https://lib.rs/crates/wasm_plugin_host