Commit Graph

2623 Commits

Author SHA1 Message Date
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
Mateusz Mikuła
1d9c93d2ae Add conversions from Uuid 1.0 2022-04-20 21:57:59 +02:00
Steven Fackler
024794abb7
Merge pull request #886 from neondatabase/funbringer/fix-some-warnings
Hide `tokio_postgres::client::SocketConfig` behind "runtime" feature
2022-04-16 10:18:23 -06:00
Dmitry Ivanov
cf381ce6a2 Hide tokio_postgres::client::SocketConfig behind "runtime" feature
This fixes warnings reported by rust 1.60 when doing the following:

```shell
$ cargo test --manifest-path tokio-postgres/Cargo.toml --no-default-features
```
2022-04-16 18:06:01 +03:00
Steven Fackler
812dfa710a
Update ci.yml 2022-04-16 09:10:09 -04:00
Steven Fackler
38da7fa8fe
Merge pull request #875 from halfmatthalfcat/ltree-support
Add ltree, lquery and ltxtquery support
2022-03-22 20:07:32 -04:00
Matt Oliver
6fae6552ec Fix tests, replace match with matches! 2022-03-16 21:23:15 -05:00
Matt Oliver
d9d283e131 Split out ltree,query,txtquery protocol parsers, add tests, rust fmt 2022-03-16 21:23:15 -05:00
Matt Oliver
6ae60d6d09 Add types to type docs 2022-03-16 21:23:15 -05:00
Matt Oliver
944b72974f Add ltree, lquery and ltxtquery support 2022-03-16 21:23:15 -05:00
Steven Fackler
a638adaf79
Merge pull request #877 from timando/cidr
Add ToSql / FromSql for IpInet and IpCidr from cidr crate
2022-03-16 21:03:32 -04:00
Tim Anderson
27039f6c3a Change error handling in cidr FromSql implementations 2022-03-17 09:31:13 +10:00
Tim Anderson
dd7bc073f7 Document cidr type conversion and run rustfmt 2022-03-16 14:32:50 +10:00
Tim Anderson
9685f9c532 Add ToSql / FromSql for IpInet and IpCidr from cidr crate 2022-03-16 14:13:36 +10:00
Steven Fackler
25cabd5d85
Merge pull request #870 from sfackler/dependabot/cargo/tokio-util-0.7
Update tokio-util requirement from 0.6 to 0.7
2022-02-11 09:01:11 -05:00
dependabot[bot]
7fd748ba96
Update tokio-util requirement from 0.6 to 0.7
Updates the requirements on [tokio-util](https://github.com/tokio-rs/tokio) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits)

---
updated-dependencies:
- dependency-name: tokio-util
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 13:47:41 +00:00