17 Commits

Author SHA1 Message Date
Ryan Leckey
07f4b98bcc sqlx-rt: prepare v0.2.0 2020-11-12 07:44:44 -08:00
Ryan Leckey
e1166ae21b sqlx-rt: prepare v0.1.2 2020-11-12 07:43:15 -08:00
Jonas Platte
b14266ba2e Add rustls support 2020-11-12 07:32:59 -08:00
Jonas Platte
f28ab22748 Remove unused re-export of native_tls::Error 2020-11-12 07:32:21 -08:00
Jonas Platte
855a0f8e41 Reorder re-exports in sqlx-rt/lib.rs
so they finally are all in the right sections
2020-11-12 07:32:21 -08:00
Jonas Platte
a161bcba05 Rename cargo features in preparation for rustls support 2020-11-12 07:32:21 -08:00
Jonas Platte
96609d4fc8 Update cfg attributes in sqlx-rt
* Move negated runtime feature checks to the end for consistency
* Remove redundant cfg attribute
2020-10-16 14:49:27 -07:00
Jonas Platte
4a09cba6d2 Update re-exports in sqlx-rt
* async_native_tls::Error is the same as native_tls::Error
* tokio_native_tls is also used for actix (was in the wrong section)
2020-10-16 14:49:27 -07:00
Ryan Leckey
41694f7e7c chore: prepare sqlx-rt v0.1.1 2020-07-27 01:38:39 -07:00
Ryan Leckey
18ee5d4983 fix: enable used but missing stream feature on tokio 2020-07-27 00:45:19 -07:00
Ryan Leckey
116fbc1942 chore: prepare sqlx-rt v0.1.0 2020-07-26 23:59:58 -07:00
Ryan Leckey
921878ad77 fix: make sqlx_rt::block_on pub not pub(crate) 2020-07-03 06:18:24 -07:00
Austin Bonander
17e88ac1a4 perf: implement pool benchmark, make fairness an option 2020-07-03 05:59:20 -07:00
Ryan Leckey
f2885f84a7 fix(mssql): handle NULL values 2020-06-07 16:30:07 -07:00
Ryan Leckey
e5b6047009
feat: introduce docker-compose based testing for running locally against many database combinations 2020-05-30 17:51:55 -07:00
Ryan Leckey
757a930e21
refactor(core): remove the HRTB (higher rank trait bound) on Row in the aim of improving ergonomics
* removes the lifetime from Row

 * removes MySqlQueryAs, SqliteQueryAs, etc. (no longer needed)

 * introduce query_scalar

 * introduce Decode::accepts to allow overriding runtime type checking
   per-type (replaces TypeInfo::compatible)

 * introduce Encode::produces to allow overriding the encoded type per-value

 * adds a lifetime to Arguments (and introduce the HRTB HasArguments)
   to support zero-copy encoding with SQLite

 * renames Database::RawBuffer to HasArguments::ArgumentBuffer

 * introduce Connect::connect_with to provide an ConnectOptions type
   explicitly to opt-out of connection string parsing

 * introduce Value and ValueRef traits to allow decoding-deferred
   extraction of values from Rows

 * introduce Encode::encode_by_ref and change Encode::encode to take
   by-value to try and re-use memory where possible

 * use thiserror to generate sqlx::Error

 * [!] temporarily removes query logging

 * [!] temporarily removes transactions
2020-05-30 16:09:08 -07:00
Ryan Leckey
a233fbfdb7
feat(rt): introduce sqlx-rt to centralize supported runtimes 2020-05-30 16:07:02 -07:00