Michael P. Jung
b10f964a1b
Add documentation for crate features
...
This closes #544
2020-03-16 15:10:25 +01:00
Steven Fackler
7bc025d2d4
Merge pull request #582 from sfackler/dependabot/cargo/base64-0.12
...
Update base64 requirement from 0.11 to 0.12
2020-03-09 09:44:31 -04:00
dependabot-preview[bot]
0fb9ede350
Update base64 requirement from 0.11 to 0.12
...
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.11.0...v0.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 13:24:28 +00:00
Steven Fackler
ff36ce993d
Release postgres v0.17.2
2020-03-05 17:13:32 -08:00
Steven Fackler
72e0dbfcc0
Release tokio-postgres v0.5.3
2020-03-05 17:11:46 -08:00
Steven Fackler
d8470a75a5
Release postgres-types v0.1.1
2020-03-05 16:00:49 -08:00
Steven Fackler
e51028385b
Log notices in Connection::poll impl
2020-03-05 15:51:08 -08:00
Steven Fackler
9f6d03d38b
Update tokio-util
2020-03-05 05:31:43 -08:00
Steven Fackler
45b80e86a2
Merge pull request #580 from aloucks/time
...
Add support for time-0.2 types
2020-03-02 20:34:10 -05:00
Aaron Loucks
6d8c403a8d
OffsetDateTime now only supports TIMESTAMPZ
2020-02-28 19:52:20 -05:00
Aaron Loucks
f33b145cd6
Remove fractional seconds from time_02 tests
2020-02-28 19:30:05 -05:00
Aaron Loucks
25db147e87
Port chrono tests to time tests
2020-02-28 19:03:59 -05:00
Aaron Loucks
2082d4f781
Add support for time-0.2 types
2020-02-28 18:05:51 -05:00
Steven Fackler
89ea051d5a
Merge pull request #538 from derekdreery/add_debug_impls
...
Add Debug impls.
2020-02-17 20:24:26 -05:00
Richard Dodd
6fd69dfd47
Make requested changes
2020-02-17 17:10:51 +00:00
Richard Dodd
369427b381
Allow clippy lint in macro output.
2020-02-17 17:10:51 +00:00
Richard Dodd
51dac3c862
Add Debug impls.
...
This commit makes the following changes
- Add an opaque `Debug` impl for `Client`.
- Add a rich `Debug` impl for `Row`.
- Make the `Debug` impl for `Type` clearer.
- Change the `Debug` for `Column` to be slightly neater.
2020-02-17 17:10:51 +00:00
Steven Fackler
4c0ee2c715
Example cleanup
2020-02-09 09:58:18 -08:00
Steven Fackler
14252af4c3
Merge pull request #568 from runfalk/master
...
Added information on how to use Vec<T> with Client::query_raw
2020-02-09 17:13:42 +00:00
Andreas Runfalk
778f278059
Added information on how to use Vec<T> with Client::query_raw ( fixes #567 )
2020-02-06 07:49:59 +01:00
Steven Fackler
cc9b8232a8
Release postgres v0.17.1
2020-01-31 18:04:59 -08:00
Steven Fackler
d88bccc27c
Release tokio-postgres v0.5.2
2020-01-31 18:00:05 -08:00
Steven Fackler
2ce4f08f46
Merge pull request #564 from benesch/startup-notices
...
Don't suppress notices during startup flow
2020-01-31 18:24:09 -05:00
Steven Fackler
4bf40cd1d3
Reorder methods
2020-01-31 14:01:16 -08:00
Steven Fackler
27635a20ca
Clean up GenericClient traits
2020-01-31 13:59:37 -08:00
Nikhil Benesch
7ea1b2d785
Don't suppress notices during startup flow
...
NoticeResponses received during the startup flow were previously being
dropped on the floor. Instead stash them away so they can be delivered
to the user after the startup flow is complete.
2020-01-31 00:37:01 -05:00
Steven Fackler
5429a79997
Merge pull request #561 from dvic/add-methods-generic-client
...
Add missing methods to GenericClient
2020-01-27 10:40:01 -05:00
dvic
5d08af01ec
Remove unnecessary impl GenericClient docs
2020-01-27 15:25:02 +01:00
dvic
1ea8b7b2d4
Fix self references in GenericClient
2020-01-27 11:14:27 +01:00
dvic
afc9b2835d
Add missing methods to GenericClient
...
This adds `execute_raw`, `query_one`, `query_opt`, `query_raw`,
and `prepare_typed` to the generic trait introduced in #525 .
2020-01-27 10:23:10 +01:00
Steven Fackler
a54ee29704
Allow opt-out of transaction settings
...
If you changed the default transaction settings of the session, you may
need an explicit opt-out.
2020-01-10 17:49:18 -08:00
Steven Fackler
f1ac3bd9d7
Always include Client::configure
2020-01-08 17:29:45 -08:00
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