warp_lambda
A super simple adapter crate to let you use warp filters with AWS lambda runtime (by aslamplr)
rweb
Yet another web server framework for rust (by kdy1)
warp_lambda | rweb | |
---|---|---|
1 | 5 | |
13 | 347 | |
- | - | |
0.0 | 0.0 | |
almost 2 years ago | 11 days ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
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.
warp_lambda
Posts with mentions or reviews of warp_lambda.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-12.
-
Replacing FastAPI with Rust: Part 3 - Trying Actix
There is probably some standard way to get around this sort of stuff, but I couldn't figure it out, certainly not with messages as cryptic as the ones I was getting. So I turned to a crate I found called warp_lambda. That's right, I found a crate that allows you to run warp on AWS Lambda. As a reminder, rweb, the most promising option from a functional standpoint, is based on warp.
rweb
Posts with mentions or reviews of rweb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-23.
-
Is there a Flask like library for Rust?
rweb is pretty simple. it's based on warp, but with rocket-like #[get("/product/{id}")] which is like Flask's @app.route("/product/").
-
A web framework I desperately wish there was a Rust equivalent for: FastAPI
I wrote a PR this weekend to give FastAPI like UX to rweb! https://github.com/kdy1/rweb/pull/56
-
Replacing FastAPI with Rust: Part 3 - Trying Actix
This crate has an implementation for the Handler trait which I used to model my own Handler trait for an actix-web Service. Using my own struct which implemented that trait suddenly made the "this is not Send" error messages simple enough to decipher. I was able to get the thing to actually compile, but it required using a few unwrap()s on errors which were not Send. I could probably go back and figure out how to wrap or map those errors to something simpler to make my implementation less fragile, but I was already annoyed enough at this implementation that I was headed toward rweb anyway.
-
Replacing FastAPI with Rust: Part 2 - Research
All of that is to say rweb is a possible solution, but not a likely one. The product seems great, and if the code functions as well as the brief examples indicate, this is the best option from a code perspective (oops, spoilers!). Given my concerns about the community, I would have to be comfortable forking and maintaining my own version of this framework in the event that I need changes and can't wait months for a PR to be reviewed. Even if that's not the case, I'll certainly have to write much more complete documentation for my teammates to be able to use this project effectively. I'm not mortally opposed to any of that, but I'd rather avoid it if I can.
What are some alternatives?
When comparing warp_lambda and rweb you can also consider the following projects:
rust-fastapi-experiments
serverless-aws-rust-http - ⚡🏗️ template for new aws lambda serverless rust http apps
juniper - GraphQL server library for Rust
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
okapi - OpenAPI (AKA Swagger) document generation for Rust projects
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
dropshot - expose REST APIs from a Rust program
aws-lambda-web-adapter - Run web applications on AWS Lambda
openapi-python-client - Generate modern Python clients from OpenAPI
paperclip - WIP OpenAPI tooling for Rust. [Moved to: https://github.com/paperclip-rs/paperclip]
warp_lambda vs rust-fastapi-experiments
rweb vs rust-fastapi-experiments
warp_lambda vs serverless-aws-rust-http
rweb vs juniper
warp_lambda vs fastapi
rweb vs okapi
warp_lambda vs actix-web
rweb vs dropshot
warp_lambda vs aws-lambda-web-adapter
rweb vs openapi-python-client
warp_lambda vs paperclip
rweb vs actix-web