mirror of
https://github.com/rwf2/Rocket.git
synced 2025-02-20 23:52:02 +00:00
One situation where this is noticeable is when initialization failure leads to `Drop`; unlike in a successful initialization, `postgres` detects and panics when `Drop` is called from within asynchronous code. Several other database pools do not panic in this same situation, but would still block the current thread. Also sets the minimum version of `tokio` to 1.4 in `rocket_contrib`, which is the version where `Handle::block_on` (used in `Drop` impls) was introduced. Fixes #1610. |
||
---|---|---|
.. | ||
codegen | ||
lib |