Sergio Benitez
38ae8d6317
Update version numbers for 0.5.0.
2023-11-17 16:38:14 +01:00
Sergio Benitez
3ee6e5c758
New version: 0.5.0-rc.4.
...
New contrib versions: 0.1.0-rc.4.
2023-11-17 16:38:14 +01:00
Sergio Benitez
b6430e9970
Rename 'Outcome::Failure' to 'Outcome::Error'.
...
The primary motivation is to deconflate the leading `F`s in `Failure` and
`Forward`. In particular, when using a generics, we used `F` for forward, which
could easily be confused for `F` for `Failure`. This resolves the conflation.
2023-11-01 18:50:55 -05:00
Manuel Transfeld
e581e3f98e
Update 'sqlx' to '0.7'.
2023-10-26 19:55:46 -05:00
Sergio Benitez
ed25534426
Update 'yansi' to 1.0.0-rc.
2023-10-26 19:53:24 -05:00
Sergio Benitez
74be8a90a1
Add support for 'diesel-async' to 'db_pools'.
2023-10-26 19:46:35 -05:00
Sergio Benitez
5f232d147c
Fix, clarify driver version numbers in 'db_pools'.
2023-03-25 08:30:01 -07:00
Sergio Benitez
91f6288ea4
New version: 0.5.0-rc.3.
...
New contrib versions: 0.1.0-rc.3.
2023-03-23 16:56:17 -07:00
Kian-Meng Ang
06d255b52b
Fix a whole bunch of typos.
...
Found via `codespell -L crate,ser,fo,noo,nd,cappable,pard,te,ans`.
2023-03-23 14:57:54 -07:00
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
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