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
Steven Fackler
8e4484c005
Release tokio-postgres v0.7.7
2022-08-21 15:34:36 -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
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
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
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
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
e6dd655a2a
Upgrade phf
2022-07-18 20:04:00 -04:00
Lachezar Lechev
a410a5fe04
Add array-impls
feature in docs table
2022-06-21 13:31:31 +02:00
Steven Fackler
17af0d5b68
Release tokio-postgres v0.7.6
2022-04-30 08:53:14 -04:00
Mateusz Mikuła
1d9c93d2ae
Add conversions from Uuid 1.0
2022-04-20 21:57:59 +02: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
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
944b72974f
Add ltree, lquery and ltxtquery support
2022-03-16 21:23:15 -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
dependabot[bot]
842e5cfdcb
Update parking_lot requirement from 0.11 to 0.12
...
Updates the requirements on [parking_lot](https://github.com/Amanieu/parking_lot ) to permit the latest version.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.11.0...0.12.0 )
---
updated-dependencies:
- dependency-name: parking_lot
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 13:15:32 +00:00
Steven Fackler
76cd380e5a
clippy
2021-12-08 18:35:18 -05:00
Ruslan Talpa
683868850e
remove "Unknown" and add Format enum
2021-11-19 09:22:36 +02:00
Ruslan Talpa
6c407d39d5
implement Unknown encoding for query parameters
2021-11-01 12:31:59 +02:00
Steven Fackler
84fa5fa1d0
Release tokio-postgres v0.7.5
2021-10-29 21:33:07 -04:00
Steven Fackler
8bb5712406
Implement ToStatement for String
...
Closes #794
2021-10-28 19:41:32 -04:00
Steven Fackler
da6e2b1164
Merge pull request #835 from ilslv/master
...
Fix transaction not being rolled back on `Client::transaction()` `Future` dropped before completion
2021-10-28 19:30:25 -04:00
Steven Fackler
33703689e0
Clean up licenses
2021-10-28 19:22:13 -04:00
ilslv
f6189a95f2
Fix transaction not being rolled back on Client::transaction()
Future
dropped before completion
2021-10-28 12:10:30 +03:00
Steven Fackler
0adcf58555
Release tokio-postgres v0.7.4
2021-10-19 19:58:49 -04:00
Steven Fackler
b2df11579f
Fix commit-time error reporting
...
Closes #832
2021-10-19 19:36:14 -04:00
Steven Fackler
d45461614a
Release postgres v0.19.2
2021-09-29 19:38:29 -04:00
Steven Fackler
8542d078bf
Release tokio-postgres v0.7.2
2021-09-29 19:34:32 -04:00
Laurențiu Nicola
be0d71fad5
Add support for time 0.3
2021-09-24 08:26:37 +03:00
Steven Fackler
3e4be86531
more clippy
2021-08-10 21:17:50 -04:00
Steven Fackler
be0c85ac0b
Update phf
2021-08-10 20:30:27 -04:00
dependabot[bot]
24928ebce3
Update env_logger requirement from 0.8 to 0.9
...
Updates the requirements on [env_logger](https://github.com/env-logger-rs/env_logger ) to permit the latest version.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-15 13:10:25 +00:00
Lukas Kalbertodt
6c1542f634
Add FromSql
and ToSql
impls for arrays (guarded behind feature)
...
This is feature-gated because those impls require Rust 1.51.
2021-07-13 16:03:35 +02:00
Steven Fackler
57cacb65fe
Upgrade phf
2021-06-21 21:30:41 -04:00
Tim Anderson
a8383dcc29
Add support for eui48 version 1.0
2021-06-03 10:54:37 +10:00
Marcin Pajkowski
b03ffcd043
expose SimpleQueryRow's column names
2021-05-29 23:44:17 +02:00
Erik Johnston
844a1bd145
Revert change back to always setting the cached statement
2021-05-15 10:25:14 +01:00
Erik Johnston
b7215c60d9
Split State into two.
...
There is no reason for the buffer and typeinfo caches to share the same
lock. By splitting them it means we a) get slightly better performance,
but more importantly b) it makes it harder to accidentally deadlock.
2021-05-14 15:20:36 +01:00