---
title: Code examples in Rust
summary: null
url: https://www.fastly.com/documentation/solutions/examples/rust
---


import CodeExamplesProvider from '~providers/code-examples'

These code examples have an implementation in Rust. To learn more about using Rust with our [Compute](/guides/compute) platform, see [using Rust](/guides/compute/developer-guides/rust).

> **NOTE:** Some of the code examples here are also available in languages other than Rust. Being able to see how the same solution can be achieved in other languages is often useful for migrations or learning, so where a code example has multiple implementations, we show all implementations together.

<CodeExamplesProvider language='rust' render={nodes => (
  <CardGallery
    labelFilter={{
      url: '/solutions/examples/rust',
      queryParam: 'tag',
    }}
    data={nodes.map((node) => ({
      link: node.path,
      title: node.title,
      labels: node.tags,
      content: node.summary,
    }))}
  />
)} />

<Partial name="license" />
