Commit Graph

2319 Commits

Author SHA1 Message Date
Steven Fackler
214413d9dc Add transaction builders
Closes #543
2020-01-08 17:23:28 -08:00
Steven Fackler
386ab5ad6e
Merge pull request #542 from sfackler/async-trait
Add tokio_postgres::GenericClient
2020-01-03 14:31:17 -05:00
Steven Fackler
24d4b92336 Whitelist clippy lint
async_trait requires this to be explicit
2020-01-02 21:05:38 -05:00
Steven Fackler
3ba416ded6 Add tokio_postgres::GenericClient
We have to make the trait methods differ from the normal methods a bit
by adding Sync + Send bounds to the ToStatement parameter which is a bit
unfortunate, but necessary until GATs async_trait unnecessary.

Closes #357
2020-01-02 21:01:47 -05:00
Steven Fackler
a865207ff6 Rename to GenericClient 2020-01-02 20:44:07 -05:00
Steven Fackler
6deef22769
Merge pull request #525 from colingm/generic-connection
Adding in generic connection trait back to the lib
2020-01-02 20:39:37 -05:00
Colin Maxfield
7ff4b3a2e9 Merge latest master into branch 2020-01-02 10:24:19 -05:00
Steven Fackler
f8d14d099b
Merge pull request #541 from elpiel/patch-1
Fix repository link
2020-01-02 07:21:00 -05:00
Lachezar Lechev
66194766d0
Fix repository link 2020-01-02 14:08:15 +02:00
Steven Fackler
7bd21b492e
Merge pull request #531 from benesch/synchronous-cancel
Support cancellation in synchronous client
2019-12-30 21:09:19 -05:00
Steven Fackler
7e66fa4f7f
Merge pull request #535 from benesch/introspect-config
Expose accessors on Config object
2019-12-30 07:25:13 -08:00
Steven Fackler
850512be8b Remove old dev dependency 2019-12-29 18:42:48 -08:00
Steven Fackler
45d17a974d
Merge pull request #536 from nolanderc/unused-generic
Put unused type parameter back into use
2019-12-29 14:16:11 -08:00
Christofer Nolander
8a3edc97de Put unused type parameter back into use 2019-12-29 23:05:45 +01:00
Nikhil Benesch
b73ec018b7
Expose accessors on Config object
Fix #534.
2019-12-29 15:15:48 -05:00
Nikhil Benesch
33dbbcbee7
Support cancellation in synchronous client 2019-12-29 14:08:17 -05:00
Colin Maxfield
508b430753 Adding generic for execute function for genericconnection 2019-12-28 16:36:56 -05:00
Colin Maxfield
793e83a4ef Adding in generic for the query function of genericconnection 2019-12-28 16:32:01 -05:00
Steven Fackler
2093f3e1ee Release tokio-postgres v0.5.1 2019-12-25 08:19:43 -08:00
Steven Fackler
1c843c8b22
Merge pull request #530 from benesch/rm-debugging
Remove debugging printlns from copy out protocol
2019-12-25 08:17:43 -08:00
Nikhil Benesch
6d18d7955e
Remove debugging printlns from copy out protocol 2019-12-25 11:12:55 -05:00
Steven Fackler
a8fa2a42c0 Use batch_execute in example 2019-12-24 12:43:23 -08:00
Steven Fackler
75a67fd06b Remove unneeded generic-array dependency 2019-12-23 16:12:28 -08:00
Steven Fackler
7413ffb793 Release postgres-native-tls v0.3.0 2019-12-23 15:59:17 -08:00
Steven Fackler
f3cf1de93e Release postgres-openssl v0.3.0 2019-12-23 15:57:28 -08:00
Steven Fackler
69412cf7e3 Released postgres v0.17.0 2019-12-23 15:52:16 -08:00
Steven Fackler
1f773f08e3 Release tokio-postgres v0.5.0 2019-12-23 15:40:49 -08:00
Steven Fackler
245ccb7bab Release postgres-types v0.1.0 2019-12-23 15:31:41 -08:00
Steven Fackler
ca80f647e8 Release postgres-derive v0.4.0 2019-12-23 15:27:41 -08:00
Steven Fackler
1c5ceebe8a Release postgres-protocol v0.5.0 2019-12-23 15:23:25 -08:00
Steven Fackler
9e10d782b5
Merge pull request #526 from sfackler/dependabot/cargo/base64-0.11
Update base64 requirement from 0.10 to 0.11
2019-12-23 18:10:07 -05:00
Steven Fackler
ee58a1cac7
Merge pull request #527 from sfackler/dependabot/cargo/md5-0.7
Update md5 requirement from 0.6 to 0.7
2019-12-23 18:09:59 -05:00
dependabot-preview[bot]
9b443da418
Update md5 requirement from 0.6 to 0.7
Updates the requirements on [md5](https://github.com/stainless-steel/md5) to permit the latest version.
- [Release notes](https://github.com/stainless-steel/md5/releases)
- [Commits](https://github.com/stainless-steel/md5/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 22:59:56 +00:00
dependabot-preview[bot]
188e5eb656
Update base64 requirement from 0.10 to 0.11
Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64) to permit the latest version.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases)
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.10.0...v0.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 22:59:25 +00:00
Steven Fackler
2615441c7d Doc cleanup and "real" extensible enums 2019-12-21 18:14:28 -08:00
Steven Fackler
869f2d7e47 Remove stray dev dependency 2019-12-21 04:21:14 -08:00
Colin Maxfield
e8aef6579e Fixing fmt on the files I changed, forgot to check prior to previous commit 2019-12-20 23:28:32 -05:00
Colin Maxfield
3592e0553e Adding in generic connection trait back to the lib 2019-12-20 20:35:17 -05:00
Steven Fackler
37d0a83434 remove uuid 0.7 support 2019-12-19 16:41:26 -08:00
Steven Fackler
8ee231f803 Add remaining log statements 2019-12-17 18:11:40 -08:00
Steven Fackler
0e41aea531
Merge pull request #524 from bikeshedder/features/fix-issue-492
Add back logging of queries
2019-12-16 10:42:07 -05:00
Michael P. Jung
d9a999a578 Add back logging of queries
This fixes #492
2019-12-16 14:36:23 +01:00
Steven Fackler
309b647bdb Publicly reexport fallible-iterator from postgres
Closes #520
2019-12-15 17:49:50 -08:00
Steven Fackler
3c85532a76 Fix docs 2019-12-15 17:34:11 -08:00
Steven Fackler
584aca4c17 rustfmt 2019-12-15 17:11:39 -08:00
Steven Fackler
a254e6e9e9 Blocking binary copy support 2019-12-15 17:01:53 -08:00
Steven Fackler
cc8d8fe734 Unify no-op drop impls 2019-12-15 15:58:50 -08:00
Steven Fackler
4a5a277878 query_opt test 2019-12-10 16:34:04 -08:00
Steven Fackler
bf8b335d2b Move binary copy stuff directly into main crate 2019-12-08 18:30:47 -08:00
Steven Fackler
0c84ed9f82 rustfmt 2019-12-04 18:59:22 -08:00