Rocket/site/guide
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
..
0-introduction.md Fix typo in guide intro: 'offerring' -> 'offering'. 2018-11-14 03:42:02 -08:00
1-quickstart.md Rework docs for stable and async support. 2020-07-21 16:15:13 -07:00
2-getting-started.md Rework docs for stable and async support. 2020-07-21 16:15:13 -07:00
3-overview.md Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
4-requests.md Use thread-safe 'CookieJar's. 2020-08-16 02:19:45 -07:00
5-responses.md Simplify language in 'responses' guide. 2020-07-22 12:28:48 -07:00
6-state.md Use 'spawn_blocking' in '#[database]'. 2020-09-10 03:34:26 -07:00
7-fairings.md Remove superfluous lifetimes in 'Fairing' methods. 2020-07-23 21:32:20 -07:00
8-testing.md Use 'unwrap' instead of 'expect' in testing guide. 2020-08-16 02:23:38 -07:00
9-configuration.md Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
10-pastebin.md Require data limits on 'Data::open()'. 2020-08-06 02:46:04 -05:00
11-conclusion.md Update 'Riot' to 'Element'. 2020-07-22 13:03:35 -07:00
index.md Update 'Riot' to 'Element'. 2020-07-22 13:03:35 -07:00