Austin Bonander
9abe9b3ac5
prepare 0.5.9 hotfix release ( #1469 )
2021-10-01 15:52:52 -07:00
Austin Bonander
1b5dd6514b
preparing 0.5.8 release ( #1466 )
...
* preparing 0.5.8 release
* fix warnings before release
2021-10-01 14:45:25 -07:00
Simon Paitrault
135d16a34f
Getting current Handle in Drop ( #1395 )
...
Signed-off-by: Freyskeyd <simon.paitrault@gmail.com>
2021-08-30 14:11:49 -07:00
Austin Bonander
3749e0ea37
chore: prepare 0.5.7 (hotfix) release ( #1394 )
2021-08-20 17:14:42 -07:00
Austin Bonander
6bb1c716bd
preparing 0.5.6 release ( #1382 )
...
* fix(pool): reenable connection reaper
* fix warnings
* chore: bump published crates to 0.5.6
* chore: update CHANGELOG.md for 0.5.6
2021-08-17 12:44:24 -07:00
guylapid
dc92c28e68
Use tokio spawn_blocking
instead of block_in_place
( #1333 )
...
This fixes a panic when sharing an SQLite connection pool between tokio runtime and actix runtime
2021-07-23 15:57:41 -07:00
Ryan Leckey
694a2ac478
release: v0.5.5
2021-05-24 09:34:34 -07:00
Ryan Leckey
5d9c292132
release: v0.5.4
2021-05-22 16:38:54 -07:00
Ryan Leckey
13f7c7124a
release: v0.5.3
2021-05-21 17:27:15 -07:00
Ryan Leckey
f7775f7fde
release: 0.5.2
2021-04-15 18:40:46 -07:00
Jonas Platte
81ae756e86
Fix warnings
2021-04-15 18:27:13 -07:00
Ryan Leckey
7127357254
release(sqlx-rt): 0.3
2021-02-04 09:11:23 -08:00
Rob Ede
e197d5b0e2
rt: update to actix-rt v2
2021-02-04 04:51:22 -08:00
Jonas Platte
70e1f7a1c7
rt: Normalize TOML array formatting
2021-01-20 21:49:46 -08:00
Jonas Platte
9f8f0650c0
rt: Disable macros in actix and tokio runtimes
2021-01-20 21:49:46 -08:00
Jonas Platte
3a8c89babf
Upgrade actix-rt to 2.0.0-beta.2
2021-01-20 21:49:46 -08:00
Jonas Platte
cdafc8ae17
Upgrade async runtime dependencies
...
Co-authored-by: Josh Toft <joshtoft@gmail.com>
Co-authored-by: Philip A Reimer <antreimer@gmail.com>
2021-01-20 21:49:46 -08:00
Ryan Leckey
46d30d2b5c
fix: rollback another update for async-rustls
2020-12-19 00:41:43 -08:00
Ryan Leckey
7bbf89c301
fix: rollback a couple package updates (forgot to check tokio)
2020-12-19 00:34:10 -08:00
Ryan Leckey
c410f88bcd
chore: update several dependencies
2020-12-19 00:26:06 -08:00
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