Steven Fackler
c98f605622
Switch to pin-project-lite
2019-11-18 18:12:34 -08:00
mibac138
9a83196e23
Update dependencies
2019-10-19 20:34:11 +02:00
mibac138
a943a0e666
Support uuid 0.8
2019-10-19 19:52:07 +02:00
Steven Fackler
7a95f6a3e4
pin_mut is in futures now
2019-10-18 22:33:33 -04:00
Steven Fackler
9d2ec747ef
Add some simple benchmarks
2019-10-15 18:17:10 -07:00
Steven Fackler
afa466fb25
Release tokio-postgres v0.5.0-alpha.1
2019-10-14 18:14:11 -07:00
Steven Fackler
4745cda7b7
Release postgres-types v0.1.0-alpha.1
2019-10-14 17:56:10 -07:00
Steven Fackler
9ebdca23e1
Release postgres-protocol v0.5.0-alpha.1
2019-10-14 17:46:45 -07:00
Steven Fackler
7b73eee3fb
Make streams !Unpin
...
Hedging against the future if we end up using an intrusive list
implementation
2019-10-14 16:42:54 -07:00
Steven Fackler
e5d2205ce1
Cut out unneeded quotes
2019-10-14 15:13:27 -07:00
Steven Fackler
270371a27a
Remove some unused dependencies
2019-10-14 15:07:03 -07:00
Steven Fackler
c92e95dac2
Fix tests
2019-10-07 17:18:00 -07:00
Steven Fackler
4b5bcbb602
Split ToSql/FromSql out to a separate crate
...
Prep for a `derive` feature.
2019-10-07 17:14:18 -07:00
Steven Fackler
30bd89c524
Upgrade tokio and futures-preview
2019-09-30 18:26:23 -07:00
Steven Fackler
de20f0fcd6
Fix bit-vec-support
2019-09-26 18:31:51 -07:00
Steven Fackler
1c1a939f8a
Merge branch 'master' into master
2019-09-26 21:23:55 -04:00
Steven Fackler
1fa4838717
Upgrade to tokio alpha.5
2019-09-19 14:48:34 -07:00
Steven Fackler
2a2b76d1b8
Upgrade to tokio alpha.4
2019-08-29 18:10:58 -07: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
9938ffff1a
Test and fix simple_query
2019-07-28 16:34:07 -07:00
Kai Yao
2c43519093
Updated bitvec to 0.6.1, as it supports serde serialization/deserialization.
2019-07-27 21:07:03 -05:00
Steven Fackler
90eb58dc8e
Some prep for custom type lookup
2019-07-23 20:16:31 -07:00
Steven Fackler
f9e46510ba
Implement prepare
2019-07-23 19:54:22 -07:00
Steven Fackler
89501f66d9
Start on std::futures rewrite
...
connect_raw works!
2019-07-21 21:44:43 -07:00
Steven Fackler
d91f9d8407
gut tokio-postgres
2019-07-21 16:09:45 -07:00
Steven Fackler
310f0ebfc6
Release tokio-postgres v0.4.0-rc.3
2019-06-29 21:18:28 -07:00
Steven Fackler
47d83d57a0
Release postgres-protocol v0.4.1
2019-06-29 21:06:23 -07:00
Steven Fackler
3b31551f73
Upgrade fallible-iterator
2019-03-10 16:32:28 -07:00
Steven Fackler
4f084e7b64
Release tokio-postgres v0.4.0-rc.2
2019-03-05 21:49:54 -08:00
Steven Fackler
4174eeeecb
Release tokio-postgres v0.4.0-rc.1
2019-03-05 21:35:46 -08:00
Steven Fackler
9385bebefc
Release postgres-protocol v0.4.0
2019-03-05 19:09:48 -08:00
Steven Fackler
23b83e5153
Upgrade state-machine-future
2019-03-04 22:24:51 -08:00
Steven Fackler
fb6e19ae60
Use geo-types rather than geo
...
Closes #418
2019-02-17 12:34:17 -08:00
坚坚冰
5c7ddc9c85
Upgrade geo, rand and base64
2019-01-31 14:48:04 +08:00
Steven Fackler
2d3b9bb1c6
Move the TLS mode into config
2019-01-13 15:07:20 -08:00
Steven Fackler
8dcad81224
Support URL-style configuration strings
2019-01-01 12:11:30 -08:00
Steven Fackler
defe764520
Support connect_timeout
2018-12-25 16:11:33 -05:00
Steven Fackler
919012d0c9
Finish convenience API
2018-12-17 21:25:21 -08:00
Steven Fackler
7df7fc715b
Start on runtime API
2018-12-16 22:00:46 -08:00
Steven Fackler
46f4a2911c
Deserialize libpq-style connection strings
...
Just the key/value pair version for now - URLs will come later
2018-12-13 21:03:47 -08:00
Steven Fackler
04ce4bb7a1
Run clippy
2018-12-09 21:44:07 -08:00
Damir Vandic
9f7ccebd8b
Update features for meta data docs.rs
2018-12-09 17:13:14 +01:00
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