Commit Graph

1473 Commits

Author SHA1 Message Date
Jon Pacheco
4f61390f15 Address comments 2020-01-28 08:30:30 +00:00
Austin Bonander
214467841d Merge pull request #85 from yaahc/unstable-features
Add doc_cfg attributes for conditional portions of the API
2020-01-27 16:04:18 -08:00
Jon Pacheco
eece922ac3 Add todos CLI example for postgres 2020-01-27 10:17:58 +00:00
Matthew Doty
1e5e1eceb4 Making realworld-postgres example compile 2020-01-26 19:43:39 -05:00
Austin Bonander
f0c88da152 Merge pull request #71 from Freax13/master
add derives for Encode and Decode
2020-01-24 13:13:06 -08:00
Tom Dohrmann
8ca3429327 format code 2020-01-24 18:54:41 +01:00
Tom Dohrmann
a94e60880d remove unused imports 2020-01-24 18:52:01 +01:00
Tom Dohrmann
1e9e816fab add proper encode/decode test 2020-01-24 18:36:04 +01:00
Tom Dohrmann
60ef862713 lift if to pattern match with pattern guard 2020-01-24 18:35:25 +01:00
Tom Dohrmann
40a0e113b7 copy doc comment 2020-01-24 18:34:57 +01:00
Jane Lusby
7d3772e23b Resolve PR comments 2020-01-22 20:49:22 -08:00
Jane Lusby
ea03fa47e7 Initial commit with doc_cfg changes 2020-01-22 13:10:10 -08:00
Ryan Leckey
24d6c696f8 Merge pull request #70 from launchbadge/ab/idents-fix
sqlx-macros: fix handling of invalid idents
2020-01-21 16:01:56 -08:00
Ryan Leckey
67cfd82ba2 Merge pull request #79 from repnop/percent-decode-passwords
Fix passwords not being percent decoded
2020-01-21 16:01:43 -08:00
Wesley Norris
1461891901 Fix passwords not being percent decoded
The password portion of the `Url` type is post-percent encoding
and needs to be manually decoded before processing and being
sent to the server.
2020-01-21 18:53:07 -05:00
Austin Bonander
cd7eae038b deny warnings in CI 2020-01-21 15:49:00 -08:00
Austin Bonander
d55e4568b8 fix build with tls and runtime-tokio features on 2020-01-21 12:24:54 -08:00
Austin Bonander
831ce2d615 fix build with TLS feature on 2020-01-21 11:57:01 -08:00
Austin Bonander
efed9b3d6d sqlx-macros: fix handling of invalid idents
add regression test with Trybuild

fix lint warnings as otherwise Trybuild wanted to include them
2020-01-21 01:52:57 -08:00
Ryan Leckey
d26040f675 Merge pull request #72 from jplatte/master
Add PgTypeInfo::with_oid
2020-01-20 13:32:52 -08:00
Jonas Platte
f93beb460a Add PgTypeInfo::with_oid 2020-01-18 14:04:17 +01:00
Tom Dohrmann
24007b143a fix tests for decode derive 2020-01-18 13:39:49 +01:00
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