rweb
Yet another web server framework for rust (by kdy1)
juniper
GraphQL server library for Rust (by graphql-rust)
rweb | juniper | |
---|---|---|
5 | 11 | |
347 | 5,542 | |
- | 0.6% | |
0.0 | 8.8 | |
12 days ago | 7 days ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
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.
juniper
Posts with mentions or reviews of juniper.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-11.
-
New Rustacean Looking For Guidance
juniper
-
Hey! TS dev looking for Rust project to begin.
GraphQL is also an option. https://github.com/graphql-rust/juniper
-
A question about Warpgrapher (framework for creating data model-driven GraphQL API services)
Juniper has plenty of popularity, so I guess it's Rust + graph DB that doesn't get much love then... :/
- Juniper - Graphql server library for rust
- Building a type-safe Fullstack Application with GraphQL codegen
-
rusty-gql Schema first GraphQL library for Rust
rusty-gql would not be able to release without async-graphql and juniper.
- GraphQL Server Library for Rust
-
Looking for GraphQL server with ws-transport ability
I'm looking for graphql server that can do queries and mutations over websocket, like subscriptions-transport-ws. Juniper and async-graphql both looks promising and async-graphql at least uses wording Subscriptions (WebSocket transport) in features but i couldn't find much more or any examples about that from the docs or repo.
-
Is graphQL generally worse at performance than REST?
We also donโt use Node anymore. We found Node in general to be incredibly slow, not to mention single threaded. Admittedly, we did use Node (Apollo) though up until about two years ago. Now, depending on use-case, we will use Go (https://github.com/99designs/gqlgen) or Rust (https://github.com/graphql-rust/juniper). Both outperform a Node gateway but significant margins.
-
[Question] Streams with Graphql Subscriptions / PubSub
(example from the docs async-graphql https://async-graphql.github.io/async-graphql/en/subscription.html, juniper: https://github.com/graphql-rust/juniper/blob/master/docs/book/content/advanced/subscriptions.md)
What are some alternatives?
When comparing rweb and juniper you can also consider the following projects:
rust-fastapi-experiments
async-graphql - A GraphQL server library implemented in Rust
okapi - OpenAPI (AKA Swagger) document generation for Rust projects
dropshot - expose REST APIs from a Rust program
gqlgen - go generate based graphql server library
openapi-python-client - Generate modern Python clients from OpenAPI
rust-graphql-actix-juniper-diesel-example - Rust, Actix, Juniper and Diesel example project
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
graphql-playground - ๐ฎ GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
Rust-Game-Template - Rust template for a 2d retro type game ๐๐น
rweb vs rust-fastapi-experiments
juniper vs async-graphql
rweb vs okapi
juniper vs dropshot
rweb vs dropshot
juniper vs gqlgen
rweb vs openapi-python-client
juniper vs rust-graphql-actix-juniper-diesel-example
rweb vs actix-web
juniper vs graphql-playground
rweb vs graphql-playground
juniper vs Rust-Game-Template