Commit Graph

279 Commits

Author SHA1 Message Date
Steven Fackler
3650d4a6de Implement traits for NoTls
Closes #495
2019-10-08 04:25:06 -07:00
Steven Fackler
c92e95dac2 Fix tests 2019-10-07 17:18:00 -07:00
Steven Fackler
4b5bcbb602 Split ToSql/FromSql out to a separate crate
Prep for a `derive` feature.
2019-10-07 17:14:18 -07:00
Steven Fackler
42f1f9675c Update codegen to Postgres 12
They've removed the old header files so some updates were required
2019-10-07 16:37:25 -07:00
Steven Fackler
d8b5412602 Upgrade errcodes to Postgres 12 2019-10-03 18:25:25 -07:00
Steven Fackler
e155af6419 Fix unix socket connection
Closes #491
2019-10-03 18:09:10 -07:00
Steven Fackler
30bd89c524 Upgrade tokio and futures-preview 2019-09-30 18:26:23 -07:00
Steven Fackler
de20f0fcd6 Fix bit-vec-support 2019-09-26 18:31:51 -07:00
Steven Fackler
1c1a939f8a
Merge branch 'master' into master 2019-09-26 21:23:55 -04:00
Steven Fackler
427340d748 Ensure connect future is Send 2019-09-25 18:30:00 -07:00
Steven Fackler
680f7b8ecb Start prepping for futures closing over parameters
Change the slice-consuming methods to requiring &(dyn ToSql + Sync),
which makes the overall value Send. If you have non-Sync values for
whatever reason, you can still use the iterator-based methods.
2019-09-25 18:22:59 -07:00
Steven Fackler
c9469ea826 Simplify logic 2019-09-25 17:59:33 -07:00
Steven Fackler
8079ed6766 Check channel binding requirements when unsupported locally 2019-09-25 17:46:15 -07:00
Steven Fackler
7b230592db Some cleanup 2019-09-25 17:44:45 -07:00
Steven Fackler
6c3a4ab192 Add channel_binding=disable/prefer/require to config
Closes #487
2019-09-24 17:03:37 -07:00
Steven Fackler
e2d305033e Remove vec workaround in tests 2019-09-23 15:57:58 -07:00
Steven Fackler
1fcf026af6 Remove workaround 2019-09-23 15:52:27 -07:00
Steven Fackler
1fa4838717 Upgrade to tokio alpha.5 2019-09-19 14:48:34 -07:00
Steven Fackler
5283ad4a08 Clean up workaround 2019-09-19 14:45:15 -07:00
Steven Fackler
b7fe6bece5 Update to newest nightly 2019-09-11 22:20:22 -04:00
Steven Fackler
08a163c546 Fix doc link 2019-09-08 16:54:57 -07:00
Steven Fackler
42cf855168 Include the Rust type name in WrongType 2019-09-06 04:37:26 -07:00
Jeb Rosen
98fb1173f5 Make prepare() return a Future that satisfies Send. 2019-09-03 18:44:30 -07:00
Steven Fackler
2a2b76d1b8 Upgrade to tokio alpha.4 2019-08-29 18:10:58 -07:00
Steven Fackler
c026644820 async_await is stable on nightly now 2019-08-21 07:48:36 -04:00
Steven Fackler
aa44090fad Update futures-preview/tokio 2019-08-18 09:02:21 -04:00
Steven Fackler
92e3d013eb Update to released tokio 2019-08-10 20:25:12 -07:00
Steven Fackler
3ed4543426 Don't block the reactor on DNS 2019-08-04 19:21:32 -07:00
Steven Fackler
f07ebc7373 Support nested transactions 2019-08-03 18:25:28 -07:00
Steven Fackler
2311ceac41 Cleanup shutdown call 2019-08-03 18:11:22 -07:00
Steven Fackler
f5a8b1de68 Update postgres 2019-08-03 18:09:27 -07:00
Steven Fackler
2a97c20bf2 Clean up old test 2019-08-02 20:31:15 -07:00
Steven Fackler
048e91a57d Use flush combinator 2019-08-02 20:30:36 -07:00
Steven Fackler
26a17ac4ed Support portals 2019-08-01 20:43:13 -07:00
Steven Fackler
e4a1ec23a1 Fix impl ordering 2019-08-01 18:44:38 -07:00
Steven Fackler
760039627a Fix build without the runtime feature 2019-08-01 18:43:38 -07:00
Steven Fackler
785205ffb2 Finish documenting everything 2019-08-01 18:40:14 -07:00
Steven Fackler
5dccb9988a Test notifications 2019-07-31 21:19:56 -07:00
Steven Fackler
e521e3b0a5 Transaction::copy_out 2019-07-31 20:16:07 -07:00
Steven Fackler
9c178ad816 Support copy_out 2019-07-31 20:15:17 -07:00
Steven Fackler
81bc845bcf Simplify logic a bit 2019-07-31 19:44:16 -07:00
Steven Fackler
beb509f3f3 rustfmt 2019-07-30 21:29:18 -07:00
Steven Fackler
f45884711f Support copy_in 2019-07-30 21:25:30 -07:00
Steven Fackler
4afd5235db Transaction support 2019-07-30 19:54:30 -07:00
Steven Fackler
88399a790c Cancel query support 2019-07-29 21:36:07 -07:00
Steven Fackler
9d851f6727 Fix doc examples 2019-07-29 18:55:11 -07:00
Steven Fackler
6fac2186ce
Fix Windows build? 2019-07-29 15:17:45 -07:00
Steven Fackler
00ef0bfd84 Use smoke_test for target_session_attrs_ok 2019-07-28 17:50:46 -07:00
Steven Fackler
dea6c3ebc5 Fix target_session_attrs handling 2019-07-28 17:48:32 -07:00
Steven Fackler
9938ffff1a Test and fix simple_query 2019-07-28 16:34:07 -07:00