28 Commits

Author SHA1 Message Date
Ryan Leckey
16077216df
style: clippy 2021-01-08 16:39:12 -08:00
Ryan Leckey
5e7f35e28b
chore: update lockfile 2021-01-08 15:28:37 -08:00
Ryan Leckey
fd50f7b915
test: check 2021-01-08 15:28:31 -08:00
Ryan Leckey
2557557935
feat(mysql): impl full connect phase for MySQL with support for:
- mysql_native_password
 - caching_sha2_password
 - sha256_password
 - non-default auth plugin (new)
2021-01-08 15:28:26 -08:00
Ryan Leckey
91fa554063
chore(core): switch to (maintained) bytestring::ByteString from string::String<Bytes> 2021-01-08 15:26:39 -08:00
Ryan Leckey
e8ea502cbb
fix(core): blocking IO runtime compiles in isolation 2021-01-08 15:26:06 -08:00
Ryan Leckey
06a8ed03bc
test(core): add a Mock runtime to stub and spy on IO streams for unit testing connections 2021-01-08 15:24:38 -08:00
Ryan Leckey
b0e8c1bc20
style: rustfmt 2021-01-06 23:04:17 -08:00
Ryan Leckey
e24b1a0864
feat(core): support blocking access on BufStream 2021-01-06 23:03:57 -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
2195472e3e
feat(core): add DatabaseError 2021-01-02 10:46:51 -08:00
Ryan Leckey
4d63978da1
chore(mysql): add get_str_eof_unchecked 2021-01-02 10:46:25 -08:00
Ryan Leckey
e6d19c2a20
style(mysql): use lossy UTF-8 decoding for URL parsing 2021-01-02 10:45:57 -08:00
Ryan Leckey
c8b9e047ac
chore(mysql): add ERR and OK packets 2021-01-02 10:45:28 -08:00
Ryan Leckey
4781a6ab99
test: setup unit test runner that supports code coverage (requires nightly) 2021-01-01 14:37:58 -08:00
Ryan Leckey
013df5ad9e
fix(core): import TryFutureExt to access map_ok 2021-01-01 12:40:40 -08:00
Ryan Leckey
ac408e9a56
style: rustfmt 2021-01-01 12:35:47 -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
6ed3cb4aad
chore(core): allow a DefaultRuntime with no features selected 2020-12-28 16:10:28 -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
7a323f3471
feat(core): refine runtime abstraction
- traits from sqlx::blocking::_ have sqlx::_ traits as dependents

 - methods in sqlx::_ traits are cfg-d on "async" with an additional Rt: Async bound
2020-12-28 00:16:44 -08:00
Ryan Leckey
fb4f2ca602
feat(core): add minimal Connection and ConnectOptions traits 2020-12-27 17:46:11 -08:00
Ryan Leckey
f613b3c7b5
fix: invalid clippy lint name 2020-12-27 17:04:56 -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