sark 0.12.0

Simple Asynchronous Rust webKit - Server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
error: lifetime may not live long enough
  --> tests/ui/json_request_view_cannot_escape_task.rs:27:5
   |
25 | #[sark_gen::handler]
   | --------------------
   | |
   | lifetime `'req` defined here
   | lifetime `'d` defined here
26 | async fn leak(request: Request, state: &State<'_>) -> Reply {
27 |     state.leaked.set(Some(request.body.payload));
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'req` must outlive `'d`
   |
   = help: consider adding the following bound: `'req: 'd`