trillium
🌱🦀🌱 Trillium is a composable toolkit for building internet applications with async rust (by trillium-rs)
routerify
A lightweight, idiomatic, composable and modular router implementation with middleware support for the Rust HTTP library hyper.rs (by routerify)
trillium | routerify | |
---|---|---|
6 | 7 | |
318 | 385 | |
2.5% | 1.0% | |
9.6 | 0.0 | |
5 days ago | 2 months ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
trillium
Posts with mentions or reviews of trillium.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-27.
-
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.
routerify
Posts with mentions or reviews of routerify.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-20.
-
State of Rust for web backends
You can checkout an example AWS Lambda entrypoint for an HTTP library Routerify (very similar to Axum) here: https://github.com/routerify/routerify/blob/master/examples/aws_lambda.rs
-
What is the way to use a router with Hyper/Tokio?
https://github.com/routerify/routerify is an easy to use router built on Hyper.
-
New Tokio blog post: Announcing Axum - Web framework that focuses on ergonomics and modularity
Looks interesting. How does this compare to routerify?
-
New Rust Programmer: Question about Web Serving
I'd also recommend routerify. It is a small layer on top of hyper but it makes writing HTTP servers quite enjoyable. My colleague dhruvasagar is creating a series of screencasts for building a URL shortener with Rust. Do check his series.
-
Announce routerify-lite
Routerify-lite is a simplified but faster version of Routerify.
-
Does rust have an http router that can be used inside an aws lambda function?
I haven't deployed Rust on lambda yet. However, I was meaning to experiment with routerify in the coming weeks. It has an example for AWS lambda as well. Let me know how it works out.
- Announcing Routerify v2: a lightweight http router built on hyper
What are some alternatives?
When comparing trillium and routerify you can also consider the following projects:
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
rust-web-framework-comparison - A comparison of some web frameworks and libs written in Rust
tower-http - HTTP specific Tower utilities.
warp - A super-easy, composable, web server framework for warp speeds.
jelly-actix-web-starter - A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.
hyper-router - Simple routing middleware for rust HTTP library hyper.
dropshot - expose REST APIs from a Rust program
routerify-lite - A simplified but faster version of Routerify
tonic - A native gRPC client & server implementation with async/await support.
Rocket - A web framework for Rust.
trillium vs axum
routerify vs axum
trillium vs rust-web-framework-comparison
routerify vs rust-web-framework-comparison
trillium vs tower-http
routerify vs warp
trillium vs jelly-actix-web-starter
routerify vs hyper-router
trillium vs dropshot
routerify vs routerify-lite
trillium vs tonic
routerify vs Rocket