Commit Graph

35 Commits

Author SHA1 Message Date
Steven Fackler
04ce4bb7a1 Run clippy 2018-12-09 21:44:07 -08:00
Steven Fackler
69a016fd85 Rename optional crate imports 2018-12-08 18:07:09 -08:00
Steven Fackler
6ff59acdd2 rustfmt 2018-12-08 17:53:30 -08:00
Steven Fackler
4d16fbb906 Get rid of postgres-shared 2018-12-08 17:39:20 -08:00
Steven Fackler
dbc6bf24e4 Un-lock phf
Closes #369

(cherry picked from commit 440a596350d417926faa07a952a638685f1c1e7a)
2018-10-25 22:06:01 -07:00
Steven Fackler
7ced104a4f Upgrade phf 2018-04-29 15:17:52 -07:00
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
863a295aae Upgrade socket2 and log 2018-01-09 20:32:55 -08: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
6a86f8dd85 Rustfmt 2017-06-30 17:35:17 -10:00
Steven Fackler
588ecc8a6c Update codegen to Postgres 10 beta 1 2017-05-18 20:32:21 -07:00
Steven Fackler
4c91a68dcc try! -> ? 2017-02-14 22:46:19 -08:00
Steven Fackler
17c53c967c Update PHF 2017-01-20 17:01:55 +00:00
Steven Fackler
d08dc136bc Move types out to postgres-shared 2016-12-21 08:14:24 -08:00
Steven Fackler
3b8fc56296 Move errors to shared 2016-12-20 16:07:45 -08:00
Steven Fackler
9d53e677ff Update to protocol 0.2 2016-12-18 16:13:12 -08:00
Steven Fackler
2e5e99f410 Upgrade phf 2016-11-26 22:05:44 -08:00
Steven Fackler
fdb16ca9ca Update to phf 0.7.19 2016-11-05 21:02:40 -07:00
Steven Fackler
1a281dd8f7 Update codegen codegen version 2016-11-01 09:05:53 -07:00
Steven Fackler
333b62a8c2 Upgrade phf 2016-10-10 22:21:28 -07:00
Steven Fackler
3832c53deb Fix clippy warnings 2016-09-24 14:35:21 -07:00
Steven Fackler
f5ec24de78 Use type conversions from protocol crate
This also changes ToSql and FromSql to explicitly deal in byte buffers.
2016-09-14 23:27:33 -07:00
Steven Fackler
7509d34407 Update codegen to Postgres 9.6 RC1 2016-09-10 11:47:18 -07:00
Steven Fackler
7d07e61e9c Remove fixmes in Type builder 2016-09-10 10:30:47 -07:00
Steven Fackler
48f2825a92 Little style tweak 2016-06-15 19:07:14 -07:00
Steven Fackler
7d9bd0c054 Upgrade to phf 0.7.15 2016-06-15 18:46:06 -07:00
Steven Fackler
8360821c1e Update and fix phf versions
Since we're caching the output of phf_codegen we need to force our
version to stay the same.
2016-03-29 21:33:48 -07:00
Steven Fackler
15fe3f7c5f Rustfmt 2016-02-21 20:02:34 -08:00
Steven Fackler
2ed1367a3b Adjust Type generation to match old behavior 2016-02-21 18:53:16 -08:00
Steven Fackler
844a03932a Fix back compat for TimstampTZ 2016-02-21 13:54:49 -08:00
Steven Fackler
49bbe0373d Properly HTML escape docs for Type 2016-02-21 13:45:31 -08:00
Steven Fackler
c185bcf43f Use modules rather than include! for codegenned stuff 2016-02-21 13:37:29 -08:00
Steven Fackler
ed789cfad8 Use persistent codegen for SqlState and Type
Makes it easier to detect changes and speeds up the build.
2016-02-21 13:30:31 -08:00