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 software developer originally from Graz but living in Vienna, Austria. I previously worked as a full-stack web developer before quitting my job to work as a freelancer and explore open source. Currently, I work at Netconomy.

Recent posts:

Exploring Zed, A Newly Open Source Code Editor Written In Rust

Exploring Zed, an open source code editor written in Rust

The Zed code editor sets itself apart with its lightning-fast performance and cutting-edge collaborative features.

Nefe Emadamerho-Atori
Apr 22, 2024 ⋅ 7 min read
Implementing Infinite Scroll In Next Js With Server Actions

Implementing infinite scroll in Next.js with Server Actions

Infinite scrolling in Next.js no longer requires external libraries — Server Actions let us fetch initial data directly on the server.

Rahul Chhodde
Apr 19, 2024 ⋅ 10 min read
Integrating Django Templates With React For Dynamic Webpages

Integrating Django templates with React for dynamic webpages

Create a dynamic demo blog site using Django and React to demonstrate Django’s server-side functionalities and React’s interactive UI.

Kayode Adeniyi
Apr 18, 2024 ⋅ 7 min read
Using Aoi Js To Build A Bot For Discord

Using aoi.js to build a bot on Discord

Explore how the aoi.js library makes it easy to create Discord bots with useful functionalities for frontend applications.

Rahul Padalkar
Apr 17, 2024 ⋅ 9 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