Rocket/contrib/lib/tests
Jeb Rosen bc8c5b9ee2 Use 'spawn_blocking' in '#[database]'.
The connection guard type generated by `#[database]` no longer
implements `Deref` and `DerefMut`. Instead, it provides an `async fn
run()` that gives access to the underlying connection on a closure run
through `spawn_blocking()`.

Additionally moves most of the implementation of `#[database]` out
of generated code and into library code for better type-checking.
2020-09-10 03:34:26 -07:00
..
static Implement a 'StaticFiles' custom handler in contrib. 2018-08-13 02:17:50 -07:00
templates Fix normalization and Windows issues. 2018-10-24 00:01:56 -07:00
compress_responder.rs.disabled Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
compression_fairing.rs.disabled Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
databases.rs Use 'spawn_blocking' in '#[database]'. 2020-09-10 03:34:26 -07:00
helmet.rs Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
static_files.rs Add 'serve::crate_relative!' for relative paths. 2020-07-23 20:12:17 -07:00
templates.rs Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00