Commit Graph

39 Commits

Author SHA1 Message Date
Steven Fackler
12345a73b0 Upgrade uuid and eui48 2018-12-08 18:09:19 -08:00
Steven Fackler
69a016fd85 Rename optional crate imports 2018-12-08 18:07:09 -08:00
Steven Fackler
b4ce9c38e5 Upgrade tokio-postgres to 2018 edition 2018-12-08 17:52:20 -08:00
Steven Fackler
4d16fbb906 Get rid of postgres-shared 2018-12-08 17:39:20 -08:00
Kyle Huey
39efb1378a Remove now-gone with-openssl from docs metadata. 2018-12-05 10:59:04 -08:00
Steven Fackler
08b4020534 Overhaul connection APIs
* `Connection` is now parameterized over the stream type, which can be
    any `AsyncRead + AsyncWrite`.
* The `TlsMode` enum is now a trait, and `NoTls`, `PreferTls`, and
    `RequireTls` are types implementing that trait.
* The `TlsConnect` trait no longer involves trait objects, and returns
    channel binding info alongside the stream type rather than requiring
    the stream to implement an additional trait.
* The `connect` free function and `ConnectParams` type is gone in favor
    of a `Builder` type. It takes a pre-connected stream rather than
    automatically opening a TCP or Unix socket connection.

Notably, we no longer have any dependency on the Tokio runtime. We do
use the `tokio-codec` and `tokio-io` crates, but those don't actually
depend on mio/tokio-reactor/etc. This means we can work with other
futures-based networking stacks.

We will almost certainly add back a convenience API that offers
something akin to the old logic to open a TCP/Unix connection
automatically but that will be worked out in a follow up PR.
2018-11-28 19:20:40 -08:00
Steven Fackler
4eecb59bf4 Used released tokio-uds 2018-08-19 22:07:01 -07:00
Steven Fackler
7de5ac85af
Merge pull request #368 from StoriqaTeam/geo-0.10
Support geo 0.10
2018-08-17 10:59:54 -07:00
Artem Vorotnikov
a33edae15b
Upgrade to geo-0.10 2018-08-17 18:18:28 +03:00
Steven Fackler
1d9ae82198 Move error in-crate
We'll operate under the assumption that postgres will end up being a
wrapper on top of tokio-postgres so postgres-shared goes away.
2018-08-13 13:25:29 -06:00
Steven Fackler
a237a471c9 Support custom types 2018-07-05 20:48:08 -07:00
Steven Fackler
e9db2bf284 Defer message sends until first poll
This matches up generally with the "futures do nothing until polled"
model.
2018-06-19 19:51:30 -04:00
Steven Fackler
13fcea7ae2 Working statement preparation 2018-06-18 22:34:25 -04:00
Steven Fackler
0d0435fc2e Start on prepare 2018-06-18 08:18:04 -04:00
Steven Fackler
8c3770bd57 Start on tokio-postgres rewrite 2018-06-16 21:29:27 -07:00
Steven Fackler
11ffcac087 Support SCRAM channel binding for Postgres 11 2018-06-01 23:07:33 -07:00
Steven Fackler
15b6cd57f5 Upgrade type crate versions
Also add the version number to the feature name. This both makes it more
obvious when using them and opens the window for support of multiple
versions simultaneously in the future.
2018-04-29 13:12:58 -07:00
Steven Fackler
b210624800 Fix minimum tokio-core version 2018-04-15 14:38:58 -07:00
Steven Fackler
bb3ebbf943 Fix some warnings 2018-01-09 21:15:35 -08:00
Steven Fackler
762a7aef7f Release v0.3.0 2017-09-30 16:14:46 -07:00
Steven Fackler
9373d2fa55 Update futures-state-stream 2017-09-30 14:56:15 -07:00
Steven Fackler
178d119c21 Fix build 2017-07-23 13:08:12 -07:00
Steven Fackler
1373a57cf8 Switch badge to circle 2017-07-22 15:09:06 -07:00
Steven Fackler
89f2770eeb Build docs with features enabled 2017-07-22 15:07:45 -07:00
Steven Fackler
9628c5b89d Release tokio-postgres v0.2.3 2017-06-11 13:11:19 -07:00
Steven Fackler
138f89993c Release postgres-shared v0.3.0 2017-06-11 13:07:33 -07:00
Steven Fackler
413d1db5cd Release tokio-postgres v0.2.2 2017-05-02 08:56:12 -07:00
gwenn
d406277ef9 Add categories and badges for Cargo (#252)
Category `database` is "Database interfaces"
Badge for Travis CI
2017-04-29 10:03:52 -07:00
Steven Fackler
23c232cbeb Start using tokio_io 2017-04-23 15:39:07 -07:00
Steven Fackler
6df3842274 Move postgres-protocol in-tree 2017-03-12 13:46:01 -07:00
kestred
efbf30c4fe Support geo types with georust/geo 2017-03-10 16:33:43 -07:00
Steven Fackler
5685dded4e Release tokio-postgres 0.2.1 2017-02-23 20:40:02 -08:00
Steven Fackler
682a45bb79 Don't depend on tokio-uds on Windows
Closes #236
2017-02-23 19:48:20 -08:00
Steven Fackler
8f1d076303 Release tokio-postgres v0.2.0 2017-02-20 21:30:14 -08:00
Steven Fackler
814c5797c5 Release tokio-postgres v0.1.1 2017-02-04 15:37:34 -08:00
Steven Fackler
def38b4772 Fix docs lik 2016-12-26 17:00:07 -05:00
Steven Fackler
9298c7921c Fix doc link 2016-12-26 16:59:48 -05:00
Steven Fackler
90bc787b75 Release tokio-postgres v0.1.0 2016-12-26 16:48:10 -05:00
Steven Fackler
5004efb792 Rename crate 2016-12-26 16:41:09 -05:00