Basti Ortiz
aeb8fe0df0
Chore: remove unused futures
crate for openssl
and native-tls
2022-08-14 23:43:12 +08:00
Steven Fackler
33703689e0
Clean up licenses
2021-10-28 19:22:13 -04:00
Laurențiu Nicola
34d8b77644
Add feature gates for doctests
2021-09-25 20:04:41 +03:00
Petros Angelatos
ca6d4b8162
tokio-postgres: buffer sockets to avoid excessive syscalls
...
The current implementation forwards all read requests to the operating
system through the socket causing excessive system calls. The effect is
magnified when the underlying Socket is wrapped around a TLS
implementation.
This commit changes the underlying socket to be read-buffered by default
with a buffer size of 16K, following the implementation of the official
client.
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2021-05-24 17:58:30 +02:00
Steven Fackler
eeee279277
Relese postgres-native-tls v0.5.0
2020-12-25 09:18:12 -05:00
Steven Fackler
de831c3a53
Release postgres v0.19.0
2020-12-25 09:14:39 -05:00
Steven Fackler
4fb6fd906f
Release tokio-postgres v0.7.0
2020-12-25 09:09:17 -05:00
Nikhil Benesch
f1729e4636
deps: upgrade to tokio v1.0 ecosystem
2020-12-24 18:38:05 -05:00
Kirill Fomichev
5099799166
return used features
2020-12-01 19:03:02 +03:00
Steven Fackler
473562175f
Release postgres-native-tls v0.4.0
2020-10-17 15:18:28 -04:00
Steven Fackler
cc77ad18d5
Release postgres v0.18.0
2020-10-17 15:16:56 -04: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
Steven Fackler
7413ffb793
Release postgres-native-tls v0.3.0
2019-12-23 15:59:17 -08:00
Steven Fackler
69412cf7e3
Released postgres v0.17.0
2019-12-23 15:52:16 -08:00
Steven Fackler
1f773f08e3
Release tokio-postgres v0.5.0
2019-12-23 15:40:49 -08:00
Steven Fackler
b4694471ad
Add query_opt
...
Closes #510
2019-11-30 18:18:50 -05:00
Steven Fackler
dc2416011a
Release postgres-native-tls v0.3.0-alpha.2
2019-11-27 21:04:44 -05:00
Steven Fackler
fa3b068da7
Release postgres v0.17.0-alpha.2
2019-11-27 21:01:24 -05:00
Steven Fackler
47d97f0d2e
Relase tokio-postgres v0.5.0-alpha.2
2019-11-27 20:48:01 -05:00
Steven Fackler
12c2ef79b6
Upgrade to tokio 0.2/futures 0.3
2019-11-26 16:32:36 -08:00
Steven Fackler
dc9d07e246
Return a custom TlsStream rather than a ChannelBinding up front
2019-10-27 14:25:58 -07:00
Steven Fackler
2a8f7bdd96
Release postgres v0.17.0-alpha.1
2019-10-14 18:25:29 -07:00
Steven Fackler
ae230fb012
Release tokio-native-tls v0.3.0-alpha.1
2019-10-14 18:17:55 -07:00
Steven Fackler
afa466fb25
Release tokio-postgres v0.5.0-alpha.1
2019-10-14 18:14:11 -07:00
Steven Fackler
c7055dc665
Clippy fixes
2019-10-09 15:20:23 -07:00
Steven Fackler
b8577b45b1
Overhaul query_portal
2019-10-08 17:22:56 -07:00
Steven Fackler
2517100132
Overhaul query
...
This is the template that we'll use for all other methods taking
parameters. The `foo_raw` variant is the most flexible (but annoying to
use), while `foo` covers the expected common case.
2019-10-08 17:15:41 -07:00
Steven Fackler
1473c09b83
Fix warnings
2019-10-08 16:45:48 -07:00
Steven Fackler
0d2d554122
Add a ToStatement trait in tokio-postgres
2019-10-08 19:36:24 -04:00
Steven Fackler
30bd89c524
Upgrade tokio and futures-preview
2019-09-30 18:26:23 -07:00
Steven Fackler
6c3a4ab192
Add channel_binding=disable/prefer/require to config
...
Closes #487
2019-09-24 17:03:37 -07:00
Steven Fackler
1fa4838717
Upgrade to tokio alpha.5
2019-09-19 14:48:34 -07:00
Steven Fackler
c456d2c09f
Reenable postgres-native-tls
2019-08-30 14:15:03 -07:00
Steven Fackler
2a2b76d1b8
Upgrade to tokio alpha.4
2019-08-29 18:10:58 -07:00
Steven Fackler
c026644820
async_await is stable on nightly now
2019-08-21 07:48:36 -04:00
Steven Fackler
aa44090fad
Update futures-preview/tokio
2019-08-18 09:02:21 -04:00
Steven Fackler
92e3d013eb
Update to released tokio
2019-08-10 20:25:12 -07:00
Steven Fackler
3ed4543426
Don't block the reactor on DNS
2019-08-04 19:21:32 -07:00
Steven Fackler
59923bd425
Update postgres-native-tls
2019-08-02 21:03:54 -07:00
Steven Fackler
effd4df463
Release postgres-native-tls 0.2.0-rc.1
...
For real this time
2019-07-05 11:02:09 -07:00
Steven Fackler
6464954e07
Release postgres-openssl v0.2.0-rc.1
2019-06-29 21:39:25 -07:00
Steven Fackler
4cc18be35b
Release postgres-native-tls v0.2.0-rc.1
2019-06-29 21:32:16 -07:00
Steven Fackler
e760d82f64
Drop tokio- prefix from TLS crates
...
They're way too wordy and used with both tokio-postgres and postgres
anyway.
2019-06-29 16:07:56 -07:00
Steven Fackler
14571ab029
Remove synchronous crate
...
It will be coming back! It's just going to involve a full rewrite and
removing it for now makes some of that restructuring easier.
2018-12-08 16:11:03 -08:00
Steven Fackler
08df4b330f
Implement tls_server_end_point for postgres-native-tls
2018-07-07 21:18:41 -07:00
Steven Fackler
5c89b35785
Upgrade native-tls
2018-06-25 21:25:49 -07:00
Steven Fackler
c70a03f9e6
Split out TLS implementations
...
This provides a lot more flexibility around version support, and unlike
the ToSql/FromSql implementations, these don't actually need to be in
postgres itself.
2018-05-28 10:42:21 -07:00