Geoffrey Copinblog.sylver.dev·May 20, 2023Build an HTTP server with Rust and tokio - Part 1: serving static filesIn this episode, we'll extend our server to serve static files. We'll also refactor our code to support connection reuse, and implement a graceful shutdown mechanism. If your didn't follow the previous episode, you can find the code on GitHub. As we ...Discuss·3 likes·3.0K readsBuilt an HTTP server with Rust and tokiohttp
Geoffrey Copinblog.sylver.dev·May 11, 2023Build a web server with Rust and tokio - Part 0: a simple GET handlerBuild a web server with Rust and tokio - Part 0: the simplest possible GET handler Welcome to this series of blog posts where we will be exploring how to build a web server from scratch using the Rust programming language. We will be taking a hands-...Discuss·11 likes·4.5K readsBuilt an HTTP server with Rust and tokioRust
Nicolas Fränkelfrankel.hashnode.dev·May 4, 2023Server-side rendering in Rust - a Dall.E use-caseLast week, I decided to see the capabilities of OpenAI's image generation. However, I noticed that one has to pay to use the web interface, while the API was free, even though rate-limited. Dall.E offers Node.js and Python samples, but I wanted to ke...Discuss·13 likesRust
Engin Diriblog.ediri.io·Nov 20, 2022How to async/await in Rust: An IntroductionTL;DR Le code As usual, the code is available on GitHub: https://github.com/dirien/quick-bites/tree/main/rust-async Introduction In this blog post, we will explore how to use the async/await syntax in Rust 🦀. We will create a simple example and then...Discuss·11 likes·10.8K readsLearning Rusttokio