Rocket/core/lib
Sergio Benitez f7cd455558 Make 'NamedFile' async. Fix 'Handler' trait.
Previously, 'NamedFile::open()' called a synchronous I/O method. This
commit changes it to instead use tokio's 'File' for async I/O.

To allow this to change, the 'Handler' trait was fixed to enforce that
the lifetime of '&self', the reference to the handler, outlives the
incoming request. As a result, futures returned from a handler can hold
a reference to 'self'.
2020-07-11 09:24:30 -07:00
..
benches Make 'Responder' trait sync; fix its lifetimes. 2020-07-11 09:24:29 -07:00
src Make 'NamedFile' async. Fix 'Handler' trait. 2020-07-11 09:24:30 -07:00
tests Make 'Responder' trait sync; fix its lifetimes. 2020-07-11 09:24:29 -07:00
Cargo.toml Remove extraneous dependency on 'futures-util'. 2020-07-11 09:24:29 -07:00
build.rs Update for rust-lang/rust#64856. 2020-07-11 09:24:29 -07:00