The Express of Rust Feather is Back❗❗

53 points Rough_Shopping_6547 19 comments

Hey There! Its been a while since Feather had a major update, but here we are!

If you don't know what Feather is, here is a recap:
Feather is a lightweight, DX-first web framework for Rust. Inspired by the simplicity of Express.js, but designed for Rust's performance and safety.

It has gotten 710 stars on GitHub desinged to be fully synchronous. Feather uses Feather-Runtime, a custom-made HTTP engine (kinda like Hyper), and the concurrency is powered by May's coroutines (big thanks to Xudong Huang!)

New Features:
- Runtime completely rewritten : New Service architecture, native May TCP integration, comprehensive tests

- Fully multithreaded now : Was using a thread-local model before, now it's proper multithreading with coroutines

- Made the whole framework thread-safe : Like Some of you pointed out that Feather's thread-local model saved it from needing Send + Sync, but not anymore! I changed most of the internals to be thread-safe, most importantly the AppContext

- Faster everything : Compile times, runtime performance, all improved

If you wanna take a look:

Github Repo
Rust Crate

And if you like it, give it a star ⭐