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0 |
0.1.0 | 0 | 0 | 1 | 0 | 0 |
0.0.0 | 0 | 0 | 1 | 0 | 0 |
0.3.5 - this version is safe to use because it has no known security vulnerabilities at this 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.