#http #async #actix-web #middleware #ready #version

nightly tosic-http

A basic but powerful HTTP server implementation based on actix-web

3 releases

0.0.3 Nov 27, 2024
0.0.2 Nov 18, 2024
0.0.1 Nov 13, 2024

#487 in HTTP server

Download history 105/week @ 2024-11-11 163/week @ 2024-11-18 130/week @ 2024-11-25 35/week @ 2024-12-02 9/week @ 2024-12-09

342 downloads per month

MIT license

125KB
3K SLoC

Tosic-HTTP

A powerful and simple HTTP server implementation that relies on tower to handle middleware. The main inspiration for this crate is actix-web and also made to learn more about creating robust and developer friendly code in Rust.

Important notes

  • This crate is not production ready!
  • Currently, this crate will only run on the nightly version of Rust since it relies on some experimental features. I'm currently working on removing this requirement, but I can't guarantee that it will be done
  • Breaking changes may happen at anytime since this is still far from a production ready crate

Examples

See examples folder for a few examples that were used during development of this crate. If there are any questions that are not answered in the examples or on the documentation page, feel free to submit an issue to GitHub.

Installation

To install this crate run cargo add tosic-http or add it to you Cargo.toml

[dependencies]
tosic-http = "0.0.*"

Dependencies

~7–18MB
~242K SLoC