Commit Graph

620 Commits

Author SHA1 Message Date
Steven Fackler
9d53e677ff Update to protocol 0.2 2016-12-18 16:13:12 -08:00
Steven Fackler
8e5f28eb70 Release v0.13.3 2016-11-30 09:10:48 -08:00
Eric Kidd
f063b97571 Fix more breakage similar to rust-lang/rust#36340 and 11f118643
Fixes #222.
2016-11-30 07:56:12 -05:00
Steven Fackler
b1faa18a1e Add an SChannel TlsStream implementation
Closes #214
2016-11-26 22:43:41 -08:00
Steven Fackler
1e24f48b10 Release v0.13.2 2016-11-26 21:11:58 -08:00
Steven Fackler
11f1186439 Update to avoid breakage from rust-lang/rust#36340 2016-11-24 20:59:40 -08:00
Steven Fackler
9c1068253f Release v0.13.1 2016-11-12 19:04:35 +00:00
Steven Fackler
667b7304eb Add native-tls support 2016-11-09 21:25:08 +00:00
Steven Fackler
d99843ba91 Allow logging to be disabled
This is a somewhat nontraditioonal use of features, but I don't want to
make logging opt in.

Closes #215
2016-11-08 21:51:24 +00:00
Steven Fackler
88aff10e62 Release v0.13.0 2016-11-05 22:25:24 -07:00
Kris
8bd75c7b71 Correct fix for the docs formating 2016-10-12 10:49:50 +01:00
Steven Fackler
07f3dc03b1 Release v0.12.0 2016-10-09 22:06:12 -07:00
Steven Fackler
5c7b108f7b Remove another unwrap 2016-10-01 22:49:15 +02:00
Steven Fackler
d2ef1ee735 Rustfmt 2016-10-01 21:26:22 +02:00
Steven Fackler
19156b2434 Import std io 2016-10-01 21:24:47 +02:00
Steven Fackler
455e22cec3 Rename io module to tls 2016-10-01 21:23:22 +02:00
Steven Fackler
17a5ab30b0 Little cleanups 2016-10-01 21:19:49 +02:00
Steven Fackler
de06c710a4 Add FromSql::from_sql_nullable
Also clean up logic for type info queries to avoid panics on bogus
responses.
2016-10-01 20:46:48 +02:00
Steven Fackler
494242231e Doc fix 2016-10-01 19:51:56 +02:00
Steven Fackler
2fe79b8319 Typo 2016-09-29 21:54:02 +02:00
Steven Fackler
b270696de1 Document TLS usage 2016-09-29 21:53:17 +02:00
Steven Fackler
599e5dbc69 Drop byteorder dependency
We're only using it for read_u8 which is a bit silly
2016-09-24 20:06:49 -07:00
Steven Fackler
90c1279336 Make Connection a tuple struct 2016-09-24 19:36:41 -07:00
Steven Fackler
3832c53deb Fix clippy warnings 2016-09-24 14:35:21 -07:00
Steven Fackler
da6ad2b821 Remove silly renamed import 2016-09-21 22:16:38 -07:00
Steven Fackler
6de2fb038c write_message2 -> write_message 2016-09-20 16:58:04 -04:00
Steven Fackler
d68323e5a9 More protocol updates 2016-09-20 16:41:52 -04:00
Steven Fackler
248af3b745 More protocol updates 2016-09-20 12:54:51 -04:00
Steven Fackler
63790cf565 More protocol updates 2016-09-20 09:47:16 -04:00
Steven Fackler
1062b2a4d6 Protocol updates 2016-09-20 09:40:59 -04:00
Steven Fackler
16ce48a510 Update for postgres_protocol changes 2016-09-19 23:46:25 -04:00
Steven Fackler
25ba140ac8 Use postgres_protocol for md5 hashing 2016-09-15 21:20:25 -07:00
Steven Fackler
42fa212482 Rustfmt 2016-09-15 21:00:47 -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
ff853811cb Use protocol's backend enum 2016-09-13 19:30:28 -07:00
Steven Fackler
fbcdd6b547 Rustfmt 2016-09-12 21:50:21 -07:00
Steven Fackler
96943d7e10 Switch over to protocol backend parser
We still have to keep our owned Backend enum around since SEME doesn't
work :'(
2016-09-11 21:27:13 -07:00
Steven Fackler
457d700639 Read message 2016-09-11 19:20:23 -07:00
Steven Fackler
82f708c5ff Add a MessageStream 2016-09-11 17:19:06 -07:00
Steven Fackler
f135d22394 remove Frontend messages 2016-09-11 16:48:19 -07:00
Steven Fackler
ad6fa4d0b1 More moves 2016-09-11 16:29:28 -07:00
Steven Fackler
52991387e5 More protocol moves 2016-09-11 16:13:57 -07:00
Steven Fackler
59e1273faa Start switching over to postgres-protocol 2016-09-11 15:54:37 -07:00
Steven Fackler
1c272246a4 Switch from bit packing to bools 2016-09-10 14:27:34 -07:00
Steven Fackler
5730903e5f Lazily initialize typeinfo queries
Cuts out a little bit of traffic for connections that don't use custom
types and avoids weird logic for things like CockroachDB that expose a
Postgres interface but not pg_catalog.
2016-09-10 13:59:49 -07:00
Steven Fackler
842bdafe1f Pull connect params out to its own module 2016-09-10 11:12:26 -07:00
Steven Fackler
ccf94ad5ef Remove nightly feature 2016-09-10 10:31:43 -07:00
Steven Fackler
bf1250eb78 Always support unix sockets 2016-09-10 10:31:43 -07:00
Steven Fackler
f2cf6be6bc Rename all features
You can't add dependencies to implicit features, so move them all just
in case.
2016-09-10 10:31:21 -07:00
Steven Fackler
c3aed4457f Remove deprecated set_transaction_isolation 2016-09-10 10:30:47 -07:00