rweb
Yet another web server framework for rust.
Installation (without automatic openapi generation):
[]
= "0.5"
= "0.2"
Features
- Safe & Correct
Since rweb
is based on warp, which features safety and correctness, rweb
has same property.
- Easy to read code
use *;
use ;
async
- Websocket
If you want to use websocket, just declare a parameter typed Ws
. It's all.
use *;
- Automatic openapi spec generation
rweb supports automatically generating openapi specification file based on your code.
See: documentation for usage.
Comparison
Name | rweb | actix-web | gotham | iron | nickel | rocket | rouille | Thruster | Tide | tower-web | warp |
---|---|---|---|---|---|---|---|---|---|---|---|
License | |||||||||||
Version | |||||||||||
Recent downloads | |||||||||||
Github stars | |||||||||||
Contributors | |||||||||||
Activity | |||||||||||
Base framework | hyper / warp | tokio | hyper | hyper | hyper | hyper | tiny-http | tokio | hyper | hyper | hyper |
https | Y | Y | Y | ? | ? | ? | ? | ? | ? | ? | Y |
http 2 | Y | Y | ? | ? | ? | ? | ? | ? | ? | ? | Y |
async | Y | Y | Y | Y | Y | Y | Y (via different method) | ||||
stable rust | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | |
openapi support | Y |