> For the complete documentation index, see [llms.txt](https://jubianchi.gitbook.io/wasmer-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jubianchi.gitbook.io/wasmer-docs/doc-update-1.0/integrations/rust.md).

# Rust

You can use Wasmer in your Rust projects to execute WebAssembly modules securely and conveniently.

{% hint style="info" %}

### Did you know ...?

Some of our language extensions are using the Wasmer Rust crate under the hood.

* [Wasmer Python Extension](https://github.com/wasmerio/wasmer-python)
* [Wasmer Go Extension](https://github.com/wasmerio/wasmer-go)
* [Wasmer Ruby Extension](https://github.com/wasmerio/wasmer-ruby)
* [Wasmex Elixir Extension](https://github.com/tessi/wasmex)
  {% endhint %}

In this section we will go through the instructions on how to setup your Rust environment, to then visit different examples of how to use Wasmer in Rust.

{% content-ref url="/pages/-MLK8Yo4lodqk8FPXYbs" %}
[Setup your Rust environment](/wasmer-docs/doc-update-1.0/integrations/rust/setup.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MLKUVD0VrsDhIU7BlBJ" %}
[Broken mention](broken://pages/-MLKUVD0VrsDhIU7BlBJ)
{% endcontent-ref %}

{% embed url="<https://docs.rs/wasmer/1.0.0-alpha01.0/wasmer/>" %}

## Published Crates

Apart from this, Wasmer publishes various other Crates:

* [wasmer](https://crates.io/crates/wasmer/): The Wasmer Runtime: high level API for interacting with Wasmer
* Backends:
  * [wasmer-compiler-singlepass](https://crates.io/crates/wasmer-compiler-singlepass): The Singlepass compiler (fast compilation, normal runtime)
  * [wasmer-compiler-cranelift](https://crates.io/crates/wasmer-compiler-cranelift): The Cranelift compiler (normal compilation, a bit faster runtime)
  * [wasmer-compiler-llvm](https://crates.io/crates/wasmer-compiler-llvm): The LLVM compiler (slow compilation, super fast runtime)
* Integrations:
  * [wasmer-wasi](https://crates.io/crates/wasmer-wasi): Wasmer's implementation of the WASI standard. This allows you to run Wasm in a POSIX-like environment with a file system and permissions.
  * [wasmer-emscripten](https://crates.io/crates/wasmer-emscripten): Wasmer's implementation of the Emscripten ABI. This allows you to run Wasm in a less sandboxed way in a 32bit Linux-like environment.

Now let's setup your Rust environment!
