Commit Graph

149 Commits

Author SHA1 Message Date
Zeb Piasecki
edc7fdecfb gate wasm support behind feature flag 2023-06-07 20:53:16 -04:00
Zeb Piasecki
64bf779f7c feat: add support for wasm
Adds support for compiling to WASM environments that provide JS via
wasm-bindgen. Because there's no standardized socket API the caller must
provide a connection that implements AsyncRead/AsyncWrite to
connect_raw.
2023-06-03 17:08:59 -04:00
dependabot[bot]
40954901a4
Update criterion requirement from 0.4 to 0.5
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 14:01:30 +00:00
Steven Fackler
b19fdd4b7e
Fix postgres-protocol constraint
Closes #1012
2023-03-30 19:30:40 -04:00
Steven Fackler
117e387a3e
Release tokio-postgres v0.7.8 2023-03-27 19:14:49 -04:00
Steven Fackler
a205d23141
Update Cargo.toml 2023-03-27 18:04:52 -04:00
dependabot[bot]
58f06610cc
Update socket2 requirement from 0.4 to 0.5
Updates the requirements on [socket2](https://github.com/rust-lang/socket2) to permit the latest version.
- [Release notes](https://github.com/rust-lang/socket2/releases)
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/socket2/compare/v0.4.0...v0.5.1)

---
updated-dependencies:
- dependency-name: socket2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 21:08:40 +00:00
Paul Hemberger
b4c05f4f81 wire through knob for TCP user timeout 2023-03-24 11:46:20 -04: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
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
8e4484c005
Release tokio-postgres v0.7.7 2022-08-21 15:34:36 -04:00
Steven Fackler
d6a6e9db83
Fix smol_str feature 2022-08-20 15:18:19 -04: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
e6dd655a2a
Upgrade phf 2022-07-18 20:04:00 -04:00
Mateusz Mikuła
1d9c93d2ae Add conversions from Uuid 1.0 2022-04-20 21:57:59 +02: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
84fa5fa1d0 Release tokio-postgres v0.7.5 2021-10-29 21:33:07 -04:00
Steven Fackler
0adcf58555 Release tokio-postgres v0.7.4 2021-10-19 19:58:49 -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
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
Steven Fackler
36916bec38 Release v0.7.2 2021-04-25 10:52:25 -04:00
Steven Fackler
57164c7e59 Release tokio-postgres v0.7.1 2021-04-03 17:12:50 -04:00
Steven Fackler
49db9cd33c upgrade socket2 2021-03-18 20:39:43 -04:00
Michael Kirk
8b8491f31d retain support for geo-types-0.6 2021-01-25 14:52:02 -06:00
Michael Kirk
37fb39202a Added support for geo-types 0.7 via with-geo-types-0_7 feature 2021-01-25 09:30:30 -06:00
Steven Fackler
4fb6fd906f Release tokio-postgres v0.7.0 2020-12-25 09:09:17 -05:00
Steven Fackler
71fc3e74bd Release postgres-types v0.2.0 2020-12-25 09:02:02 -05:00
Steven Fackler
06dcebf248 Release postgres-protocol v0.6.0 2020-12-25 08:51:47 -05:00
Nikhil Benesch
f1729e4636 deps: upgrade to tokio v1.0 ecosystem 2020-12-24 18:38:05 -05:00
dependabot-preview[bot]
235dfeb95a
Update pin-project-lite requirement from 0.1 to 0.2
Updates the requirements on [pin-project-lite](https://github.com/taiki-e/pin-project-lite) to permit the latest version.
- [Release notes](https://github.com/taiki-e/pin-project-lite/releases)
- [Changelog](https://github.com/taiki-e/pin-project-lite/blob/master/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project-lite/compare/v0.1.0...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-17 13:29:23 +00:00
Steven Fackler
5ad3c9a139 Add back keepalives config handling
Also fix connection timeouts to be per-address
2020-11-05 21:14:56 -05:00
dependabot-preview[bot]
6561d8129a
Update env_logger requirement from 0.7 to 0.8
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/master/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.0...v0.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 13:23:29 +00:00
Steven Fackler
12e2f03b53 Release tokio-postgres v0.6.0 2020-10-17 15:06:10 -04:00
Steven Fackler
2689070d19 Upgrade to tokio 0.3 2020-10-17 09:49:45 -04:00
Nikhil Benesch
bb961edcc4 Disable chrono's "oldtime" feature to drop time v0.1
The latest version of chrono, v0.4.16, permits removing its dependency
on the long-deprecated time v0.1 crate by disabling the "oldtime"
feature.

For backwards compatibility, chrono is leaving the "oldtime" feature on
by default, so disabling the "oldtime" feature requires disabling all
default features and then re-enabling the one default feature ("clock")
that rust-postgres needs.

Note that this change does not cause any backwards-compatibility
problems for users of rust-postgres. The "oldtime" feature controls only
whether `time_v01::Duration` and `chrono::Duration` are the same type
and does not affect any of the APIs used by rust-postgres.
2020-09-25 15:36:51 -04:00
Steven Fackler
170c5a5e13 Release tokio-postgres v0.5.5 2020-07-03 15:19:15 -04:00
Steven Fackler
469b72d883
Merge pull request #623 from jakubadamw/geo-types-0_6
Add support for the 0.6 version of `geo_types`.
2020-07-03 15:14:50 -04:00
dependabot-preview[bot]
f5c1902d7d
Update parking_lot requirement from 0.10 to 0.11
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.10.0...0.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-24 13:18:13 +00:00
Jakub Wieczorek
5d9acb1eb1 Add support for the 0.6 version of geo_types.
This change drops the support for the 0.5 version by renaming the feature,
as no version of `postgres` with it included has ever been released.
2020-06-24 12:28:21 +02:00
Jakub Wieczorek
887be86816 Add support for geo-types=0.5
Support for geo-types=0.4 (via the `with-geo-types_04` feature) has been preserved for convenience.
2020-05-25 13:45:17 +02:00
Steven Fackler
66f5a8bbc5 Release tokio-postgres v0.5.4 2020-05-01 16:10:41 -07:00
Steven Fackler
72e0dbfcc0 Release tokio-postgres v0.5.3 2020-03-05 17:11:46 -08:00