Commit Graph

2688 Commits

Author SHA1 Message Date
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
Lachezar Lechev
a410a5fe04
Add array-impls feature in docs table 2022-06-21 13:31:31 +02:00
Steven Fackler
8785773e8e
Release postgres v0.19.3 2022-04-30 08:56:34 -04:00
Steven Fackler
17af0d5b68
Release tokio-postgres v0.7.6 2022-04-30 08:53:14 -04:00
Steven Fackler
695067c299
Release postgres-types v0.2.3 2022-04-30 08:40:50 -04:00
Steven Fackler
1d8aa0ad87
Release postgres-derive v0.4.2 2022-04-30 08:28:06 -04:00
Steven Fackler
da78d4ea06
Release postgres-protocol v0.6.4 2022-04-30 08:24:30 -04:00
Steven Fackler
765395f288
Merge pull request #888 from mati865/uuid-1-impls
Add conversions from Uuid 1.0
2022-04-20 16:05:26 -04:00