DEV Community

Cover image for Going beyond full stack with Rust
Grzegorz Krasoń
Grzegorz Krasoń

Posted on

Going beyond full stack with Rust

Most of us know that Rust can target almost anything - from microcontrollers to desktop apps, servers, and even browser-based applications. But are these practical use cases, or just proofs of concept that we wouldn't apply in practice?

I decided to find out.

👉 Let me share my project with you: an on-desk watch combined with a meteo station.

⏰ Features:

  • World Time (automatic timezone detection + NTP synchronization)
  • Weather Forecast (two-day forecast for the current location)
  • Current Weather (live data from nearby meteo stations)
  • Fully configurable through an embedded web UI

🛠️ Implementation (all in Rust!):

system

  • Embedded: Multi-threaded app built with ESP-IDF, running on ESP32-S3 (Xtensa)
  • Frontend: Two Leptos apps compiled to WASM, client-side rendered
  • Backend: Two serverless functions built with Spin SDK, deployed to Fermyon Cloud
  • Simulator: Built with help of ratatui, runs in the terminal on x86
  • Scripting: Helper tool using rust-script crate

📦 Source Code:

Top comments (0)