Free online tools to generate, calculate, convert, format, transform, and de/en-code.
 

Rust Shell

Interactive Rust Shell powered by the official Rust Shell API. Write and execute Rust code online.

Rust Shell - Powered by play.rust-lang.org
Write Rust code and press Ctrl+Enter to compile and run
Press Ctrl+Enter to compile and run

About Rust Shell

This Rust Shell provides an interface to the official Rust Shell API at play.rust-lang.org. Write Rust code and execute it using the latest stable Rust compiler.

Features

  • Official Compiler: Uses the same infrastructure as play.rust-lang.org
  • Latest Stable Rust: Always up-to-date with the newest Rust version
  • Full stdout/stderr: See both program output and compiler messages
  • Error Messages: Detailed Rust compiler errors and warnings
  • Code Examples: Pre-built examples to learn Rust features

Keyboard Shortcuts

  • Ctrl/Cmd + Enter: Compile and run code
  • Tab: Indent (4 spaces)
  • Ctrl/Cmd + L: Clear shell output

Supported Features

  • Full Rust language features (stable channel)
  • Standard library access
  • Structs, enums, traits, and generics
  • Pattern matching and error handling
  • Iterators and closures
  • Ownership and borrowing

Limitations

  • Code is executed on Rust Shell servers (not in browser)
  • Network access and file I/O are restricted
  • Execution time is limited (prevents infinite loops)
  • Some external crates may not be available

Feedback

Help us improve this page by providing feedback:


Share with