Sergio Benitez
682c2d9acf
Update database driver version numbers in docs.
2022-09-18 01:27:36 -07:00
Tilen Pintarič
f0d678d464
Update diesel to 2.0, sqlx to 0.6.
...
Closes #2209 .
Closes #2335 .
Closes #2249 .
2022-09-18 01:24:57 -07:00
Sergio Benitez
a933e7234d
Gracefully shutdown database pools in 'db_pools'.
2022-07-13 14:16:14 -07:00
Sergio Benitez
4dcd92837f
New version: 0.5.0-rc.2.
...
New contrib versions: 0.1.0-rc.2.
2022-05-09 06:32:46 -05:00
Sergio Benitez
f12788dbf9
Synchronize 'db_pools' docs with libraries.
...
Also adds an integration test designed to break if upstream types change
in a manner incompatible with docs.
2022-05-04 12:38:29 -07:00
Konrad Borowski
4d258739f5
Migrate Rocket to Rust 2021 edition.
2022-04-19 18:35:38 -07:00
Sergio Benitez
d25a8308e5
Update 'mongodb' to '2' in 'db_pools'.
2022-02-16 11:07:05 -08:00
Sergio Benitez
543560a1f2
Update 'deadpool' dependencies in 'db_pools'.
2022-02-16 11:07:00 -08:00
Sergio Benitez
8cae077ba1
Add 'Connection::into_inner()' in 'db_pools'.
...
Resolves #1790 .
2021-08-30 04:02:13 -07:00
Sergio Benitez
a16c66eae9
Propagate 'log_level' to SQLx logs.
...
Closes #1798 .
2021-08-19 19:49:20 -07:00
Sergio Benitez
5b1a04deab
Introduce async database pools: 'rocket_db_pools'.
...
This is the async analog of 'rocket_sync_db_pools', rewritten to be
cleaner, leaner, easier to maintain and extend, and better documented.
Resolves #1117 .
Resolves #1187 .
2021-07-18 12:17:17 -07:00
Jeb Rosen
f7f068be11
Initial implementation of async DB pooling.
2021-07-18 12:14:25 -07:00