RSSAmplifier

Blog

Carl Lerche

Recent content on Carl Lerche

carllerche.netlify.appRSS feed ↗7 posts

Latest posts

Exploring ways to make async Rust easier

Asynchronous Rust is powerful but has a reputation for being hard to learn. There have been various ideas on how to fix the trickiest aspects, though with my focus being on Tokio 1.0, I had not been able to dedicate much focus to those topics. However, Niko’s async vision effort has recently started the discussion again, so I thought I would take some time to participate. In this article, I…

Tower Web 0.3 — async/await and template support

Happy Friday! Today, Tower Web 0.3 has been released and it comes with two major new features: Experimental support for async/await. Support for using templates to render responses. Async/await support In case you haven’t heard, async/await is a big new feature that is being worked on for Rust. It aims to make asynchronous programming easy (well, at least a little bit easier than it is today). The…

Tower Web — Expanding the middleware stack

tower-web version 0.2.2 has been released. It comes with a number of new features, which I will talk about in this post. Primarily, the middleware story is starting to come together. I will be expanding some on how middleware fits into Tower and web in general. First, a quick recap Tower is a library for writing modular and reusable networking services (previously announced here). It does this by…

Tower Web 0.2 — Now 100% comment attribute free

Last week, I announced Tower Web, a web application framework for Rust that focuses on removing boilerplate. It uses Rust macros to generate necessary HTTP boilerplate so that the application can be written decoupled from HTTP concerns. One of the stated goals was that it needed to work on stable Rust today. This is what the API looked like when I announced it:…

Tower Web — A new web framework for Rust

I previously announced Tower and mentioned that a web framework was in the works. It took longer than I had hoped (as it sometimes does with software), but today, I am opening up Tower Web. Tower Web is an asynchronous HTTP web framework that focuses on removing boilerplate. It is built on top of Tokio, Hyper, and of course Tower. It works today on stable Rust. Here is “hello world”.

Announcing Tower

Tower (Github) has been a bit of an open secret for a while now, but it has been getting some mentions recently after the Rust all hands, so I thought I would write a more formal post to talk about it, the goals, and the short term roadmap. tl;dr Tower is a library for writing robust network services with Rust. It is being built in service of the Conduit proxy, which is using the Tokio ecosystem…

Announcing Tokio

I’m very excited to announce a project that has been a long time in the making. Tokio is a network application framework for rapid development and highly scalable deployments of clients and servers in the Rust programming language. It strives to make writing robust, scalable, and production ready network clients and servers as easy as possible. It does this by focusing on small and reusable…