tiny-http
trillium
Our great sponsors
tiny-http | trillium | |
---|---|---|
5 | 6 | |
955 | 314 | |
2.0% | 1.6% | |
1.5 | 9.6 | |
25 days ago | 8 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tiny-http
-
C-rusted: The Advantages of Rust, in C, without the Disadvantages
kcgi describes itself as being "minimal" whereas actix-web calls itself "powerful", "extremely fast" and as having "a lot of features out of box"... seems about as fair as comparing the 320MB Apache HTTP Server repo against the 52KB tiny_http library
-
Is Rust good choice for the backend of any mobile application?
I'm developing the backend of https://www.cozydate.com/ in Rust. Async Rust is not productive yet, so I tried rouille http server which lets me write non-async request handlers. Unfortunately, it uses an unbounded thread pool and falls down under load https://github.com/tiny-http/tiny-http/issues/221 . Then I tried Tide and a threadpool to call my non-async API handlers. This worked, but was really ugly, and I had issues with uploads after deploying to Heroku https://github.com/http-rs/tide/issues/878 .
-
Hey rustaceans, which web framework you guys suggest for a small application?
tiny-http is small. You'll probably be able to make something with less than 1 Mb.
-
NVD - CVE-2022-23812 - A 9.8 critical vulnerability caused by a node library author adding code into his package which has a 1 in 4 chance of wiping the files of a system if it's IP comes from Russia or Belarus
That's not a simple http server, something like tiny_http would be with only... 17 total dependencies by default. Actix is a full framework with an abundance of features, and correspondingly-large dependency tree.
- GitHub - tiny-http/tiny-http: Low level HTTP server library in Rust
trillium
-
Hey rustaceans, which web framework you guys suggest for a small application?
i like trillium a lot. inspired by plug (elixir), you just add plugs in a vertical stack and the request goes from top to bottom. there is also ntex which has a ton of examples inspired by actix-web (might have been a fork) https://github.com/ntex-rs/examples
-
A struct field that's either a Reference or Value
Maybe you want something like this, which is a Cow-like enum that either holds a &mut T or a T?
-
New Tokio blog post: Announcing Axum - Web framework that focuses on ergonomics and modularity
I've been planning on using trillium on a project, the main difference I can see between it and Axum is that Axum allows you to use existing tower middle ware, right?
-
Trillium web framework
I'll definitely prioritize this! I hadn't really thought much about it because it's straightforward to do in application code, but it seems reasonable to make it easier for people to get started with this common use case. I opened up a discussion on gh, let me know if something like what you had in mind https://github.com/trillium-rs/trillium/discussions/36
-
New Tower guide: Building a middleware from scratch
Any thoughts on (trillium)[https://github.com/trillium-rs/trillium]? Looks like you're fulfilling similar niches.
What are some alternatives?
Rouille, Rust web server middleware - Web framework in Rust
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
rustful - [OUTDATED] A light HTTP framework for Rust
rust-web-framework-comparison - A comparison of some web frameworks and libs written in Rust
url-crawler - Rust crate for configurable parallel web crawling, designed to crawl for content
tower-http - HTTP specific Tower utilities.
The FastCGI Rust implementation. - Native Rust library for FastCGI
jelly-actix-web-starter - A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.
Nickel - An expressjs inspired web framework for Rust
dropshot - expose REST APIs from a Rust program
Rocket - A web framework for Rust.
tonic - A native gRPC client & server implementation with async/await support.