solo-io / wasm

Web Assembly tools and SDKs for extending cloud-native infrastructure
Apache License 2.0
306 stars 40 forks source link

wasme support for rust #234

Closed invent360 closed 3 years ago

invent360 commented 3 years ago

Have the support for rust been halted completely ? i went to the documentation page (https://docs.solo.io/web-assembly-hub/latest/tutorial_code/build_tutorials/) and only saw support for Assemblyscript and C++.

Screenshot 2021-01-30 at 05 05 35
Sodman commented 3 years ago

Hi @invent360, the proxy-wasm rust SDK is still supported by wasme. If you run wasme init, you'll still see rust as an option.

The cpp example is meant to be a general example of creating / building / tagging a wasm filter for Envoy, using wasme. All of these instructions should basically be the same for any of the other target languages, the output filter will just look a little different depending on the language chosen.

The AssemblyScript proxy runtime has it's own example in our docs because solo.io actively maintains that repo - https://github.com/solo-io/proxy-runtime

If you're looking for examples on writing filters in other languages, you should check out the upstream docs, as they'll likely be more up to date with the latest changes to the upstream SDKs. For example, here's the rust SDK repo, which has a few filter examples in it - https://github.com/proxy-wasm/proxy-wasm-rust-sdk

Sodman commented 3 years ago

Closing this one out, feel free to open a new issue if you have further questions!

invent360 commented 3 years ago

@Sodman Thanks so much for your help, really appreciate it.