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
4a5d30b4c6
Buffer copy_in messages
...
Otherwise there's a ton of overhead passing tons of tiny messages over
channels.
2019-06-22 21:22:03 -07:00
Steven Fackler
04ce4bb7a1
Run clippy
2018-12-09 21:44:07 -08:00
Steven Fackler
4d16fbb906
Get rid of postgres-shared
2018-12-08 17:39:20 -08: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
01a1529624
Make SqlState into an opaque type rather than enum
2017-07-08 20:52:36 -07: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
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
49bbe0373d
Properly HTML escape docs for Type
2016-02-21 13:45:31 -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