Commit Graph

61 Commits

Author SHA1 Message Date
Steven Fackler
2777703ef3 Make constants associated 2018-04-22 15:01:55 -07:00
Steven Fackler
fcbed9175b Allow FromSql to borrow from the buffer
This allows for in-place deserialization of text and bytea values in
particular.

Row::get_bytes is removed since it previously existed for this use case.

Closes #281
2018-04-22 13:16:34 -07:00
Steven Fackler
594606ad9f Support TCP keepalive
Closes #335
2018-04-15 14:30:15 -07:00
Steven Fackler
8970fd958c Fix warning 2018-04-15 14:26:02 -07:00
Steven Fackler
ec7db287e1 Upgrade dependencies 2018-04-15 13:59:48 -07:00
Steven Fackler
e1f31a4493 Release postgres-shared v0.4.1 2018-02-11 17:17:52 -08:00
Steven Fackler
bb3ebbf943 Fix some warnings 2018-01-09 21:15:35 -08:00
Steven Fackler
863a295aae Upgrade socket2 and log 2018-01-09 20:32:55 -08:00
Steven Fackler
932a7b19d7 Add a connect timeout
cc #246
2017-08-09 21:05:25 -07:00
Steven Fackler
5518e0de73 Merge pull request #283 from rory/connect-params-eq
Add Eq, ParialEq and Hash to ConnectParams (etc)
2017-08-03 13:57:52 -07:00
Rory McCann
7aef9a6029 Add Eq, ParialEq and Hash to ConnectParams (etc) 2017-08-03 21:37:17 +02:00
Dirkjan Ochtman
919e347fbc Add impl ToSql for Cow<str> (see #280) 2017-08-03 09:21:25 +02:00
Steven Fackler
06c1b55f8c Release postgres-shared v0.4.0 2017-07-23 12:44:06 -07:00
Steven Fackler
6e4d960f8e Upgrade eui48 version 2017-07-21 21:58:04 -07:00
Steven Fackler
7b22574aa6 Mangle hidden trait method 2017-07-22 10:27:31 -07:00
Steven Fackler
6394dc1c84 Cleanup 2017-07-21 21:08:39 -07:00
Steven Fackler
fed246e9fd Error reform for tokio-postgres 2017-07-19 21:22:27 -07:00
Steven Fackler
d0a5241931 Seal RowIndex 2017-07-09 16:02:13 -07:00
Steven Fackler
bec973c776 Make Type an opaque type 2017-07-09 00:02:45 -07:00
Steven Fackler
01a1529624 Make SqlState into an opaque type rather than enum 2017-07-08 20:52:36 -07:00
Steven Fackler
6f0950b45b Drop lower version bounds for serde and uuid 2017-07-08 20:06:26 -07:00
Steven Fackler
6a86f8dd85 Rustfmt 2017-06-30 17:35:17 -10:00
Jacob Chang
ed17d5e45d Upgrade chrono to 0.4 (#272) 2017-06-30 08:13:10 -10:00
Steven Fackler
138f89993c Release postgres-shared v0.3.0 2017-06-11 13:07:33 -07:00
Steven Fackler
06a6273f74 Support conversion of the UNKNOWN type to String
Closes #256
2017-05-22 22:04:41 -07:00
Steven Fackler
588ecc8a6c Update codegen to Postgres 10 beta 1 2017-05-18 20:32:21 -07:00
Steven Fackler
6b008766bf Use the bytes crate for backend message parsing (#253) 2017-05-06 08:28:07 -07:00
Steven Fackler
1672bdd54d Release postgres-shared v0.2.1 2017-05-02 08:51:51 -07:00
Steven Fackler
dde9f6ced5 Support uuid 0.5
Closes #255
2017-05-01 22:12:55 -07:00
Kim Rutherford
9876ed261b Update serde_json dependency to version 1.0 (#250)
* Update serde_json dependency to version 1.0

* Update serde_json version in top-level Cargo.toml

* Support serde_json 0.9 and 1.*
2017-04-24 00:10:27 +02:00
Steven Fackler
aaeb74608b Move geo type conversions to postgres-protocol 2017-03-12 15:14:20 -07:00
Steven Fackler
6df3842274 Move postgres-protocol in-tree 2017-03-12 13:46:01 -07:00
kestred
72d60ee0ba Add types tests for geographic types 2017-03-10 17:58:51 -07:00
kestred
e07b7b04e4 Support PATH type with geo::LineString 2017-03-10 17:27:17 -07:00
kestred
efbf30c4fe Support geo types with georust/geo 2017-03-10 16:33:43 -07:00
Steven Fackler
9126ec4ef2 Support notifications on tokio-postgres
Closes #242
2017-03-08 10:38:20 +11:00
Steven Fackler
01314c1375 Release postgres-shared v0.2.0 2017-02-20 21:28:04 -08:00
Steven Fackler
1f93f2a356 Shrink version constraints 2017-02-16 22:40:01 -08:00
Steven Fackler
126d80003c Fix warnings 2017-02-15 21:48:38 -08:00
Steven Fackler
c59799e376 Refactor connectparams 2017-02-15 21:42:27 -08:00
Steven Fackler
4c91a68dcc try! -> ? 2017-02-14 22:46:19 -08:00
Steven Fackler
73e4ec1c0d Fix build 2017-02-14 22:18:12 -08:00
Steven Fackler
a8ed34b66e Remove SessionInfo
This was never actually used, and is incompatible with tokio-postgres's
API.
2017-02-14 22:10:58 -08:00
Steven Fackler
79644f9279 Update to chrono 0.3
Closes #232
2017-02-07 20:18:26 -08:00
Steven Fackler
89f5378642 Release postgres-shared v0.1.1 2017-02-04 15:34:35 -08:00
Steven Fackler
4333de81cb Bump uuid version
Closes #231
2017-02-04 15:03:47 -08:00
Aleksander Vognild Burkow
5e171ca9a3 Upgrade serde_json to 0.9.x 2017-01-31 16:33:24 +01:00
Steven Fackler
17c53c967c Update PHF 2017-01-20 17:01:55 +00:00
Steven Fackler
5004efb792 Rename crate 2016-12-26 16:41:09 -05:00
Steven Fackler
47738e3774 Cargo.toml updates 2016-12-26 16:36:34 -05:00