2021-09-09
6811
#rust
Mario Zupan
65875
Sep 9, 2021 ⋅ 24 min read

Full-stack Rust: A complete tutorial with examples

Mario Zupan I'm a self-employed Software Engineer and Trainer living in Vienna, Austria. I've worked at several companies and in multiple fields building, maintaining and operating distributed systems at scale using Java, Kotlin, Node, Go and Rust. I also taught advanced software engineering courses for several years at the University of Applied Sciences FH Joanneum in Graz and worked as a technical trainer, empowering other software engineers to reach their full potential. Currently, I work as a freelance software engineer and trainer again, looking to help companies build high-quality software solutions. Check out my personal blog: http://www.zupzup.org.

Recent posts:

Using tsup To Bundle Your TypeScript Package

Using tsup to bundle your TypeScript package

Learn how to efficiently bundle your TypeScript package with tsup. This guide covers setup, custom output extensions, and best practices for optimized, production-ready builds.

Muhammad Ali
Feb 20, 2025 ⋅ 7 min read
how to use react higher order components

How to use React higher-order components

Learn the fundamentals of React’s high-order components and play with some code samples to help you understand how it works.

Hussain Arif
Feb 20, 2025 ⋅ 10 min read
dependency inversion principle

Understanding the dependency inversion principle (DIP)

Learn about the dependency inversion principle (DIP), its importance, and how to implement it across multiple programming languages.

Samuel Olusola
Feb 20, 2025 ⋅ 8 min read
Building A Telegram Bot With GrammY

Building a Telegram bot with grammY

Build a Telegram bot with Node.js and grammY to automate text, audio, and image responses using the Telegram API and Google Gemini.

Amazing Enyichi Agu
Feb 20, 2025 ⋅ 7 min read
View all posts

4 Replies to "Full-stack Rust: A complete tutorial with examples"

  1. I will be honest it is the most useful tip I have read till date. Thanks for putting all this together.
    I am really positive using your thoughts and knowledge will help me to improve myself.
    Great work. Keep doing great work for us. Loved it

  2. Fast-forward to 2023 and:

    $ cargo run
    Compiling proc-macro2 v1.0.66
    Compiling unicode-ident v1.0.11
    Compiling cfg-if v1.0.0
    […]
    Compiling hyper v0.14.27
    Compiling mobc v0.7.2
    error[E0599]: no method named `send_replace` found for struct `Arc<tokio::sync::watch::Sender<Option>>` in the current scope
    –> /home/me/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/client/connect/mod.rs:225:17
    |
    225 | self.tx.send_replace(Some(connected.clone()));
    | ^^^^^^^^^^^^ method not found in `Arc<Sender<Option>>`

    For more information about this error, try `rustc –explain E0599`.
    error: could not compile `hyper` (lib) due to previous error
    warning: build failed, waiting for other jobs to finish…

    As I was using this example to learn about Rust, I don’t know how to fix this. Do I just abandon the example and try another project?

Leave a Reply