Rocket/contrib/lib
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
..
src Use 'spawn_blocking' in '#[database]'. 2020-09-10 03:34:26 -07:00
tests Use 'spawn_blocking' in '#[database]'. 2020-09-10 03:34:26 -07:00
Cargo.toml Remove 'redis' integration from 'contrib'. 2020-07-21 15:11:07 -07:00