Commit Graph

2645 Commits

Author SHA1 Message Date
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
Steven Fackler
8736f45fbd
bump ci version 2022-07-18 20:13:48 -04:00
Steven Fackler
e6dd655a2a
Upgrade phf 2022-07-18 20:04:00 -04:00
Steven Fackler
a3c0e52a9c
Merge pull request #919 from BratSinot/smol_str
Add FromSql / ToSql for smol_str::SmolStr.
2022-07-05 21:41:35 -04:00
BratSinot
9ae23bd822 Merge branch 'master' into smol_str 2022-07-05 15:00:01 +02:00
BratSinot
68b1be6715 rustfmt fix 2022-07-05 14:58:26 +02:00
Steven Fackler
db4c65e884
clippy 2022-07-05 07:26:32 -04:00
BratSinot
cff971d48c Fix suggestions. 2022-07-05 09:13:19 +02:00
Steven Fackler
4ab11d59d3
Merge pull request #915 from xoac/feat/const-size-array-as-bytea
feat: support [u8; N] as BYTEA
2022-07-04 18:57:19 -04:00
BratSinot
7699c78037 Add FromSql / ToSql for smol_str::SmolStr. 2022-07-04 12:25:58 +02:00
Sylwester Rąpała
6b8cb8a2be chore: update ToSql documentation about [u8; N] 2022-06-30 00:13:19 +02:00
Sylwester Rąpała
9daf8b1e5d feat: support [u8; N] as BYTEA 2022-06-29 22:11:12 +02:00
Steven Fackler
0984ab1c58
Merge pull request #911 from malobre/feat/sql-boxed-slice
Implement `ToSql` & `FromSql` for `Box<[T]>`
2022-06-24 07:10:30 -04:00
Maël Obréjan
1bd0d9271e
Implement ToSql & FromSql for Box<[T]> 2022-06-24 11:41:03 +02:00
Steven Fackler
e5690253f7
Merge pull request #908 from elpiel/patch-1
Add `array-impls` feature of `postgres-types` in docs table
2022-06-22 13:15:59 -04:00
Lachezar Lechev
dd3719ddba
workflow - ci - bump Rust version to 1.57
Fixes #909
2022-06-22 18:38:55 +02:00