551 Commits

Author SHA1 Message Date
Tom Dohrmann
bb933decb7 add derives for Encode and Decode 2020-01-18 13:30:16 +01:00
Ryan Leckey
9141bd7561
Update CHANGELOG.md 2020-01-18 01:24:38 -08:00
Ryan Leckey
3e6efc57b6 Prepare v0.2.4 v0.2.4 2020-01-18 01:22:14 -08:00
Ryan Leckey
60d45ac44b Fix (again) the handling of nulls in mysql and add an integration test for it 2020-01-18 01:20:26 -08:00
Ryan Leckey
7118247692
Update CHANGELOG.md 2020-01-18 00:50:10 -08:00
Ryan Leckey
ac9aeb2e26 Prepare v0.2.3 v0.2.3 2020-01-18 00:47:26 -08:00
Ryan Leckey
c4b221f040 Update CHANGELOG 2020-01-18 00:44:57 -08:00
Ryan Leckey
d00c18ec75 Fix query! for the no results case in Postgres and MySQL 2020-01-18 00:43:59 -08:00
Ryan Leckey
559bdb49c5 Prepare v0.2.2 (again) 2020-01-16 18:41:24 -08:00
Ryan Leckey
3b91b06828 Prepare v0.2.2 v0.2.2 2020-01-16 18:31:48 -08:00
Ryan Leckey
35c5556512 Update dependencies 2020-01-16 18:29:58 -08:00
Ryan Leckey
39f6b06cd0
Update CHANGELOG.md 2020-01-16 18:25:37 -08:00
Ryan Leckey
3a2a34381f
Streamline CI to run build _then_ db checks (#68)
* Streamline CI to run build _then_ db checks

* Run rustfmt

* Test the sqlx-core manifest explicitly for unit tests

* Fix incorrect feature enabled in CI

* Make doctests conditional on runtime

* Clean up CI file a bit more

* Tweak CI file one more last time
2020-01-16 18:14:47 -08:00
Ryan Leckey
c82a8cc8f5
Merge pull request #69 from launchbadge/ab/pg-tls-fix
PgConnection: clear buffers after TLS upgrade
2020-01-16 13:33:46 -08:00
Austin Bonander
beba141aec PgConnection: clear buffers after TLS upgrade 2020-01-16 13:30:48 -08:00
Ryan Leckey
f1b37b9bc2 Add support for unsigned integers and binary in query! for mysql 2020-01-16 12:51:33 -08:00
Ryan Leckey
d46acb0e0e default sqlx-core and sqlx-macros to runtime-async-std as well to make "cargo c" work during dev 2020-01-16 12:51:08 -08:00
Ryan Leckey
6096ac0403 Update LICENSE copyrights 2020-01-16 12:15:13 -08:00
Ryan Leckey
6a7e8df9ae Add rt-threaded flag to tokio in sqlx-macros 2020-01-16 12:14:54 -08:00
Ryan Leckey
2c4b7e5e3c Add '#[allow(unused_variables)]' to suppress warnings on a feature-less compile of sqlx-macros 2020-01-16 12:09:41 -08:00
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