8 Commits

Author SHA1 Message Date
Ryan Leckey
7f036dfb4a
style: remove unused imports 2021-02-18 23:46:05 -08:00
Ryan Leckey
a637e69d19
refactor: add Connect::connect_with(&Options) and reduce complexity of facade
- remove as much as possible from the DbConnectOptions facade with From and Deref

 - add From, Deref, and DerefMut to DbConnection facade
2021-02-18 23:46:05 -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
16077216df
style: clippy 2021-01-08 16:39:12 -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
e6d19c2a20
style(mysql): use lossy UTF-8 decoding for URL parsing 2021-01-02 10:45:57 -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