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0 |
0.1.2 | 0 | 0 | 1 | 0 | 0 |
0.1.1 | 0 | 0 | 1 | 0 | 0 |
0.1.0 | 0 | 0 | 1 | 0 | 0 |
0.0.0 | 0 | 0 | 1 | 0 | 0 |
0.3.7 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
MIT - MIT LicenseA super-easy, composable, web server framework for warp speeds.
The fundamental building block of warp
is the Filter
: they can be combined
and composed to express rich requirements on requests.
Thanks to its Filter
system, warp provides these out of the box:
Since it builds on top of hyper, you automatically get:
Add warp and Tokio to your dependencies:
tokio = { version = "1", features = ["full"] }
warp = "0.3"
And then get started in your main.rs
:
use warp::Filter;
#[tokio::main]
async fn main() {
// GET /hello/warp => 200 OK with body "Hello, warp!"
let hello = warp::path!("hello" / String)
.map(|name| format!("Hello, {}!", name));
warp::serve(hello)
.run(([127, 0, 0, 1], 3030))
.await;
}
For more information you can check the docs or the examples.