dependabot[bot]
748167d5f8
Update base64 requirement from 0.13 to 0.20
...
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.13.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 13:07:35 +00:00
Steven Fackler
44202adc18
Merge pull request #967 from xxchan/xxchan/missing-guan
...
derive Debug for SimpleQueryMessage
2022-12-07 08:02:59 -05:00
xxchan
be90d0e848
derive Debug for SimpleQueryMessage
2022-12-07 12:29:28 +01:00
Steven Fackler
cb82025af6
Merge pull request #965 from sfackler/dependabot/cargo/env_logger-0.10
...
Update env_logger requirement from 0.9 to 0.10
2022-11-25 07:53:30 -08:00
dependabot[bot]
eaa1c62793
Update env_logger requirement from 0.9 to 0.10
...
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger ) to permit the latest version.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-25 13:05:23 +00:00
Steven Fackler
5ebe602b00
Merge pull request #963 from jkosh44/idle-session-timeout
...
Add idle session timeout error
2022-11-21 19:32:47 -05:00
Joseph Koshakow
0c86f9362f
Add multirange kind and run cargo fmt
2022-11-21 18:40:37 -05:00
Joseph Koshakow
f413e66b14
Add support for multiranges
2022-11-21 18:40:37 -05:00
Joseph Koshakow
664345f9ec
Update PostgreSQL files to most recent version
2022-11-21 18:40:37 -05:00
Joseph Koshakow
b29164d53a
Add idle session timeout error
...
This commit adds the idle session timeout error (57P05). See
https://www.postgresql.org/docs/current/errcodes-appendix.html
2022-11-21 18:40:37 -05:00
Steven Fackler
f48c3b577f
more deprecations
2022-11-21 15:26:37 -08:00
Steven Fackler
6557bca871
more clippy
2022-11-21 15:25:39 -08:00
Steven Fackler
6c18ac09b9
rustfmt
2022-11-21 15:20:25 -08:00
Steven Fackler
7faeea5acc
Fix clippy/deprecation warnings
2022-11-21 15:19:11 -08:00
Steven Fackler
71668b7f46
Merge pull request #949 from sfackler/dependabot/cargo/criterion-0.4
...
Update criterion requirement from 0.3 to 0.4
2022-09-12 09:32:08 -04:00
dependabot[bot]
e5f7f8e291
Update criterion requirement from 0.3 to 0.4
...
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs ) to permit the latest version.
- [Release notes](https://github.com/bheisler/criterion.rs/releases )
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.0...0.4.0 )
---
updated-dependencies:
- dependency-name: criterion
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 13:19:27 +00:00
Steven Fackler
dfe3bc0493
Release v0.4.3
2022-09-07 19:01:27 -04:00
Steven Fackler
1e944c4ffc
Merge pull request #931 from matt-duch/derive-generic
...
Derive Generic FromSql/ToSql
2022-09-06 21:37:37 -04:00
Matt Duch
3827b2e442
derive bounds on generics
2022-09-06 19:26:13 -05:00
Steven Fackler
14e11bda5b
Merge pull request #944 from PG-kura/support-keepalive-interval-and-retries
...
Support keepalive interval and retries.
2022-08-27 12:10:55 -04:00
Hirotaka Azuma
d7ccbb3d42
Review fix: Avoid redundant function calls.
2022-08-27 14:19:01 +00:00
Hirotaka Azuma
5551b3e6cd
Revert "Review fix: get_connect_timeout returns copied Option."
...
This reverts commit 4882ecc2de
.
2022-08-27 14:18:27 +00:00
Hirotaka Azuma
4882ecc2de
Review fix: get_connect_timeout returns copied Option.
2022-08-27 13:58:31 +00:00
Hirotaka Azuma
0fcd0c26a5
Review fix: get_keepalives_{interval,retries} returns copied Option.
2022-08-27 13:56:17 +00:00
Hirotaka Azuma
a97e17b51e
Fix CI error: Prevent "unused imports" in --no-default-features.
2022-08-27 13:46:22 +00:00
Hirotaka Azuma
b5a53960b1
Review fix: Define features regardless of platform and do nothing if not supported.
2022-08-26 19:27:06 +00:00
Hirotaka Azuma
a78ce35d44
Support keepalive interval and retries.
2022-08-26 08:45:04 +00:00
Matt Duch
ed05675888
derive generic FromSql/ToSql
2022-08-25 19:56:23 -05:00
Steven Fackler
54331183ea
Release postgres v0.19.4
2022-08-21 15:37:10 -04:00
Steven Fackler
8e4484c005
Release tokio-postgres v0.7.7
2022-08-21 15:34:36 -04:00
Steven Fackler
5b95068ee6
Release postgres-types v0.2.4
2022-08-20 15:28:42 -04:00
Steven Fackler
34efb053ec
rustfmt
2022-08-20 15:19:17 -04:00
Steven Fackler
d6a6e9db83
Fix smol_str feature
2022-08-20 15:18:19 -04:00
Steven Fackler
91b21873ca
Merge pull request #937 from NAlexPear/encode_format_types
...
Encode Format based on Type
2022-08-16 09:27:31 -04:00
Alex Pearson
8158eed052
Move parameter count assertion above format encoding derivation
2022-08-16 08:13:26 -04:00
Alex Pearson
569689deaa
encode format with types
2022-08-16 08:13:26 -04:00
Steven Fackler
8f955eb3ac
Merge pull request #935 from Some-Dood/deps/prefer-sub-crates
...
Deps: prefer sub-crates of `futures`
2022-08-16 07:51:44 -04:00
Basti Ortiz
44eac98271
Fix: run cargo fmt
2022-08-15 00:37:47 +08:00
Basti Ortiz
5f3e7aecad
Fix: address Clippy warnings
2022-08-15 00:37:47 +08:00
Basti Ortiz
a0f028a008
Fix(tokio-postgres): declare dependency on net
feature
2022-08-15 00:37:46 +08:00
Basti Ortiz
8abc3eaa65
Chore(postgres): prefer sub-crates of futures
2022-08-14 23:49:40 +08:00
Basti Ortiz
aeb8fe0df0
Chore: remove unused futures
crate for openssl
and native-tls
2022-08-14 23:43:12 +08:00
Basti Ortiz
65c1d146a6
Chore(tokio-postgres): prefer sub-crates of futures
2022-08-14 23:31:17 +08:00
Steven Fackler
a624282bed
rustfmt
2022-08-04 13:07:13 -04:00
Steven Fackler
d650adbf14
Merge pull request #928 from hmac/hmac/encode-format
...
Delegate encode_format to T in &T and Option<T>
2022-08-04 12:59:10 -04:00
Harry Maclean
17da49912d
Impl Clone + Copy for Format
2022-08-03 23:52:10 +12:00
Harry Maclean
0d11db6940
Delegate to inner type for encode_format
...
In the ToSql impls for &T and Option<T>, override encode_format to
delegate to the impl for T. This ensures that if T overrides this
method, it also overrides it for &T and Option<T>.
2022-08-03 23:33:54 +12:00
Harry Maclean
f048f39812
Derive Debug for Format
...
It's useful to be able to inspect Format values when debugging.
2022-08-03 23:32:30 +12:00
Steven Fackler
d7b10f2cea
cleanup
2022-07-18 20:18:18 -04:00
Steven Fackler
09e86560dd
Merge pull request #836 from subzerocloud/master
...
Implement Unknown encoding for query parameters
2022-07-18 20:16:40 -04:00