Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Rust Playground

play.rust-lang.org

  • Free plan
  • Web
  • Self-hosted

Free

Free

Free plan

What the maker publishes

Audience
The Playground is for experimenting with Rust when a local installation or compiler is unavailable. source
Available crates
It provides the top 100 crates by all-time downloads, Rust Cookbook crates, and their dependencies. source
Code persistence
The most recently entered code is automatically saved in browser local storage, which is shared across windows as a single resource. source
Code tools
Users can run rustfmt and Clippy and inspect LLVM IR, assembly, or Rust MIR. source
Compiler output
It can display LLVM IR, assembly, or Rust MIR for source code. source
Crate availability
Some otherwise eligible crates may be excluded if they do not compile on Linux or stable Rust, or have invalid feature flag selections. source
Crates
It includes the top 100 crates by all-time downloads, crates from the Rust Cookbook, and their dependencies. source
Deployment options
none source
Disk limitation
The project README says its sandbox has no disk space limits and recommends limiting the temporary directory when running a server. source
Editor
It provides an editor with syntax highlighting. source
Editor
It provides a browser editor with syntax highlighting. source
Free plan
Yes source
Full-stack runtime
No source
Gist setup
For a self-hosted server, a GitHub token must be configured to load and save gists. source
Integration
Rust documentation and mdbook examples can link code to the Playground for users to run or edit. source
Integrations
The interface uses React, the backend uses Axum, and code sharing uses GitHub Gist. source
Isolation
Docker containers provide the compilers and tools and help isolate them. source
Isolation
Docker containers provide compilers and tools and help isolate them; compiler containers have no network connection to the outside world. source
Network limit
Compiler containers have no network connection to the outside world. source
Open source
The repository is licensed under Apache License 2.0 or MIT, at the user's option. source
Purpose
The Playground lets users experiment with Rust before installing it locally or when a compiler is unavailable. source
Purpose
The Playground lets people experiment with Rust before installing it locally or when a compiler is unavailable. source
Resource limits
Memory and total compilation and execution time are limited by the container. source
Resource limits
Compiler and executable memory use and total compilation and execution time are limited by the container. source

Checked against the maker's pages on 12 Oct 2026.