NewGyu / wasm-component-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What's this?

This is an example to understand WASM Component Model with cargo-component.

Example case

image

There are two packages, then each package has a world.

  • newgyu:comp1/random-generator
    • rand func is exported.
  • newgyu:comp2/hello
    • hello-world func is exported, and that depends on rand func that is provided by newgyu:comp1.

About


Languages

Language:Rust 100.0%