33 Commits

Author SHA1 Message Date
Ryan Leckey
1cac2864ec test: prove mysql driver is cancellation safe 2021-06-11 04:36:31 -07:00
Ryan Leckey
c9e7a27441 test: setup basic mysql integration test 2021-06-10 16:13:59 -07:00
Ryan Leckey
f563260886 test(mysql): use once-cell over conquer-once to avoid weird panic 2021-06-10 15:05:00 -07:00
Ryan Leckey
d4aa3dfa5e
feat(postgres): add more frontend protocol messages 2021-03-20 08:28:15 -07:00
Ryan Leckey
db1896444d
feat(postgres): add support for clear and md5 passwords 2021-03-20 00:50:27 -07:00
Ryan Leckey
9cc80af5e4
feat(examples): add initial postgres+async-std quickstart 2021-03-20 00:16:52 -07:00
Ryan Leckey
3bd6a5a356
fix: QueryResult should be Clone + Default 2021-03-07 10:35:54 -08:00
Ryan Leckey
baa63d33e1
refactor(postgres): baseline postgres driver against the now near-complete state of the mysql driver 2021-03-06 13:59:24 -08:00
Ryan Leckey
39e2658537
chore: update lockfile 2021-03-03 17:42:33 -08:00
Ryan Leckey
23b8d93023
chore: update lockfile 2021-02-18 23:46:07 -08:00
Ryan Leckey
ca7e138b68
chore: update lockfile 2021-02-18 23:46:05 -08:00
Ryan Leckey
06bad624de
chore: update lockfile 2021-02-18 23:46:04 -08:00
Ryan Leckey
a0d68e726c
feat(mysql): add MySqlQueryResult 2021-01-27 19:31:21 -08:00
Ryan Leckey
965389557e
chore: update async-compat to release 0.2 (tokio 1.0 support) 2021-01-26 01:17:52 -08:00
Daniel Akhterov
80a1b19db9
feat: add sasl support 2021-01-24 13:54:57 -08:00
Daniel Akhterov
c8f7601ad1
feat: implement read_packet for postgres 2021-01-23 13:27:52 -08:00
Daniel Akhterov
d5053d1b1d
feat: begin work on postgres 2021-01-22 00:21:16 -08:00
Ryan Leckey
02524b24c1
refactor: update examples to remove preludes 2021-01-20 19:41:45 -08:00
Ryan Leckey
a0ce421989
refactor: remove preludes and provide inherent methods on wrapped types
- sqlx::mysql::MySqlConnection is a tuple struct of sqlx_mysql::MySqlConnection

 - sqlx::mysql::MySqlConnection provides both connect() and connect().await
   using crate-local specialization from negative trait bound inference
2021-01-20 19:39:25 -08:00
Ryan Leckey
e1e6f594c1
docs: split quickstart into mysql+tokio, mysql+async-std, and mysql+blocking 2021-01-10 19:52:50 -08:00
Ryan Leckey
6c8d68e9d0
refactor: marker traits for non-blocking <Async> vs <runtime::Blocking>
- enforce compile-time errors if you try to block on an async-only runtime
   or await a blocking runtime

 - remove viral HRTB for Streams

 - support UNIX streams
2021-01-10 19:23:04 -08:00
Ryan Leckey
6adf743225
chore: update actix-rt, remove tokio 0.2 from workspace 2021-01-10 11:34:54 -08:00
Ryan Leckey
d2b31950cf
refactor: split <Connection> into <Connect>, <Close>, <Acquire>, and <Connection> 2021-01-09 16:37:36 -08:00
Ryan Leckey
5e7f35e28b
chore: update lockfile 2021-01-08 15:28:37 -08:00
Ryan Leckey
86576106e8 wip(mysql): impl native auth scramble 2021-01-03 18:23:51 -08:00
Ryan Leckey
7750168b80
wip(mysql): connect phase 2021-01-02 10:47:15 -08:00
Ryan Leckey
55a8e7ba29
wip(mysql): connection/establish, WriteExt, BufExt, and settle on AsyncRuntime 2021-01-01 12:28:48 -08:00
Ryan Leckey
44c175bb19
feat(mysql): fill out more in MySqlOptions and settle on accessors [#659] 2020-12-30 16:10:04 -08:00
Ryan Leckey
93bb9cceb0
feat(mysql): add initial Connection and Database types, hookup runtimes 2020-12-28 02:18:05 -08:00
Ryan Leckey
fb4f2ca602
feat(core): add minimal Connection and ConnectOptions traits 2020-12-27 17:46:11 -08:00
Ryan Leckey
50e43a8211
feat(core): add minimal Runtime and blocking::Runtime and re-expose sqlx-core in sqlx 2020-12-27 17:01:44 -08:00
Ryan Leckey
69c4aab9f6
chore(core): initial commit 2020-12-27 12:31:43 -08:00
Ryan Leckey
8276f88df3
chore: initial commit 2020-12-27 12:26:48 -08:00