1 unstable release
Uses new Rust 2024
new 0.1.0 | Apr 20, 2025 |
---|
#6 in #feather
Used in feather
27KB
537 lines
Feather Runtime
Feather Runtime is a lightweight, multithreaded HTTP server engine for Feather. It provides enhanced control over low-level server operations and replaces tiny-http
, which is no longer maintained.
Features
- 🚀 Multithreaded Request Handling – Efficiently handles multiple connections using a thread pool.
- 🔄 Graceful Shutdown – Cleanly shuts down on signal
- 🌍 Dynamic HTTP Responses – Easily generate responses based on incoming requests.
- ⚡ Buffered I/O – Optimized performance with
BufReader
andBufWriter
.
Why Feather Runtime?
I built Feather Runtime because I wanted greater control over the low-level aspects of the framework. tiny-http
, the library Feather was originally based on, is no longer maintained, making it necessary to develop a more flexible and future-proof solution.
Feather Runtime ensures a modern, efficient, and reliable HTTP server experience tailored for Feather.
For Contributors
If you're contributing to Feather but don't want to mess with low-level server internals, you can mostly ignore this subcrate. Feather Runtime is designed to handle the core HTTP processing while Feather itself provides higher-level abstractions. If you have a feature request or a problem open a Issue for it
Dependencies
~2.4–3.5MB
~67K SLoC