531 Commits

Author SHA1 Message Date
Ryan Leckey
fe3225a8b8 Prepare v0.2.1 v0.2.1 2020-01-16 01:52:47 -08:00
Ryan Leckey
e0bd84986a Update CHANGELOG 2020-01-16 01:51:43 -08:00
Ryan Leckey
d6952a26c1
Merge pull request #65 from launchbadge/da-fix-mysql-null-bitmap
Fix MySQL Row decoding
2020-01-16 01:49:19 -08:00
Daniel Akhterov
5ad09887e0 Fix mysql null bitmap not starting at bit 3 2020-01-16 01:44:20 -08:00
Ryan Leckey
36ba6951dd
Update README.md 2020-01-16 01:06:14 -08:00
Ryan Leckey
544e4972ba Update CHANGELOG 2020-01-16 01:04:45 -08:00
Ryan Leckey
1fd3976d65 macros: remove now unused once-cell dep and make lazy_static optional 2020-01-16 01:04:40 -08:00
Ryan Leckey
2562c3518c
Merge pull request #55 from udoprog/tokio-runtime-once
Only create tokio runtime once for block_on
2020-01-16 01:00:52 -08:00
Ryan Leckey
f939374c60
Merge pull request #59 from sondr3/fix-tokio-instructions
Fix instructions for using tokio
2020-01-15 10:02:41 -08:00
Sondre Nilsen
c700c899c2
Fix instructions for using tokio 2020-01-15 18:56:39 +01:00
John-John Tedro
4b2267233f Be explicit about runtime features used in static runtime 2020-01-15 15:57:54 +01:00
John-John Tedro
68937221f3 Use the threaded scheduler in the runtime 2020-01-15 15:51:03 +01:00
John-John Tedro
453012c9bf Only create tokio runtime once for block_on 2020-01-15 14:49:56 +01:00
Ryan Leckey
e5f6bd49f3
Update README.md 2020-01-15 03:44:57 -08:00
Ryan Leckey
62e1df5ad9 Prepare v0.2.0 v0.2.0 2020-01-15 02:20:19 -08:00
Ryan Leckey
1bb6487ddf Remove use of ::connect helper that was removed 2020-01-15 02:04:03 -08:00
Ryan Leckey
c0e51d7451 Run rustfmt 2020-01-15 01:55:42 -08:00
Ryan Leckey
c42e859141 Add support for tokio to sqlx-macros 2020-01-15 01:54:50 -08:00
Ryan Leckey
e770f2ab43
Update README.md 2020-01-15 01:36:00 -08:00
Ryan Leckey
809bc3964c Run rustfmt 2020-01-15 01:34:20 -08:00
Ryan Leckey
ae4fcd1406 Work around bug with format! and await on stable 2020-01-15 01:32:16 -08:00
Ryan Leckey
8b321bf336
Update CHANGELOG.md 2020-01-15 01:30:19 -08:00
Ryan Leckey
7d62d9a286
Update README.md 2020-01-15 01:27:19 -08:00
Ryan Leckey
daf7f6c556 Be explicit with features for docs.rs 2020-01-15 01:27:07 -08:00
Ryan Leckey
92f12e11aa Add support for Tokio 2020-01-15 01:17:33 -08:00
Ryan Leckey
96f14c0700 Merge remote-tracking branch 'origin/ab/proc-macro-unhack-sort-of' into rl-transaction-1 2020-01-15 00:29:43 -08:00
Ryan Leckey
6ddf3184de Run rustfmt 2020-01-15 00:27:19 -08:00
Ryan Leckey
0fdc4c4761 Remove dbg! in the macros 2020-01-15 00:26:30 -08:00
Ryan Leckey
2e5e273565 Fix Pool alias with Pool changes 2020-01-15 00:26:22 -08:00
Ryan Leckey
c13c1cc817 Add a bit more notes to the example about transactions 2020-01-15 00:26:13 -08:00
Ryan Leckey
b1a27ddac2 Add a Transaction type to simplify dealing with Transactions 2020-01-15 00:22:01 -08:00
Austin Bonander
0fdb875c20 support arbitrary numbers of bind parameters in query!() et al 2020-01-15 00:05:34 -08:00
Austin Bonander
da5c538d22 strip out proc-macro-hack 2020-01-15 00:05:09 -08:00
Ryan Leckey
28ed854b03 Extract Connection::open into a new trait Connect::connect 2020-01-14 23:58:17 -08:00
Ryan Leckey
3183413e9e
Merge pull request #50 from launchbadge/rl-refactor-types
Refactor HasSqlType to provide an array of compatible types
2020-01-14 23:32:45 -08:00
Ryan Leckey
306ed9752d Add i8, date, time, and datetime (chrono) in query! for MySQL and remove bool 2020-01-14 23:32:30 -08:00
Ryan Leckey
6b22fb7489 Refactor HasSqlType to provide an array of compatible types.
* Intending to use in a new Row type to check types at runtime for
   dynamic queries and to guard against schema changes

 * Hoping the query! macro can utilize this to allow accepting N
   rust types for 1 sql type and returning N rust types for 1 sql
   type.
2020-01-14 23:27:42 -08:00
Ryan Leckey
684068aa9e
Merge pull request #41 from launchbadge/ab/tls
implement TLS for Postgres and MySQL
2020-01-14 12:22:10 -08:00
Austin Bonander
114aaa5dfc MySqlConnection: warn if server does not support SSL 2020-01-14 12:14:01 -08:00
Austin Bonander
367e6635cd remove debug lines from MySQL workflow 2020-01-14 12:09:34 -08:00
Austin Bonander
fc66c8fa3f give examples of connection strings enabling SSL 2020-01-14 12:07:43 -08:00
Ryan Leckey
330b1e2b4e Fix serialization test for postgres 2020-01-14 10:43:54 -08:00
Ryan Leckey
0a5b527d79 fix import errors and run rustfmt 2020-01-14 10:35:50 -08:00
Ryan Leckey
cb1dbff544 mysql: if in a TLS stream, sha2 auth is just "send a clear text password" 2020-01-14 10:32:59 -08:00
Ryan Leckey
d99b87b5c5 Fix cargo-check command in postgres workflow 2020-01-14 10:25:38 -08:00
Austin Bonander
6682d4dce7 Pool::new(): forward to connection types for string syntax 2020-01-13 20:43:32 -08:00
Austin Bonander
c92ee619c3 fix some behaviors with TLS in MySQL 2020-01-13 20:42:49 -08:00
Austin Bonander
d129dead81 test TLS for MySQL on CI 2020-01-13 18:16:06 -08:00
Austin Bonander
a014accf08 document TLS options for MySQL 2020-01-13 14:58:37 -08:00
Austin Bonander
f04e4bdbeb document TLS options for Postgres 2020-01-13 14:54:29 -08:00