Commit Graph

1215 Commits

Author SHA1 Message Date
Steven Fackler
f957f10b19 Use a Box<NegotiateSsl> instead of a default param
Default parameter's aren't used in type inference yet, so the old setup
would result in overly verbose things like &mut SslMode::None::<NoSsl>.
In the future we can add the parameter back with a default of
Box<NegotiateSsl> to avoid forcing people to box stuff.
2015-05-13 15:14:37 -07:00
Steven Fackler
2d8f6882f3 Add NegotiateSsl bound to SslMode param 2015-05-13 14:43:39 -07:00
Steven Fackler
f30dd2f1c0 AsRawSocket, not AsRawHandle 2015-05-13 14:43:39 -07:00
Steven Fackler
f8ccb821d1 Implement AsRawFd/AsRawHandle for Stream 2015-05-13 14:43:39 -07:00
Steven Fackler
9a19f01512 Add openssl feature to travis config 2015-05-13 14:43:39 -07:00
Steven Fackler
bf4820375d Make openssl an optional dependency 2015-05-13 14:43:39 -07:00
Steven Fackler
3c83d46ee4 Move types around and add docs 2015-05-13 14:43:03 -07:00
Steven Fackler
2a6f075ce7 De-generify StreamWrapper and NegotiateSsl
This makes NegotiateSsl object safe which is convenient for things like
r2d2.
2015-05-13 14:42:22 -07:00
Steven Fackler
ce4da6bf48 Pass host to negotiate_ssl 2015-05-13 14:42:22 -07:00
Steven Fackler
be49982286 Make SSL infrastructure implementation agnostic 2015-05-13 14:42:22 -07:00
Steven Fackler
627f101c78 Remove deprecated get_transaction_isolation 2015-05-13 14:41:36 -07:00
Steven Fackler
569ff870c2 Properly escape table and column names in prepare_copy_in
We have to assemble queries by hand here which is a bit sketchy.
Manually escaping the individual identifiers to avoid introducing
injection vulernabilities is unfortunate but necessary.
2015-05-05 21:57:06 -07:00
Steven Fackler
7d11a05672 Release v0.8.8 2015-05-05 11:40:52 -07:00
Steven Fackler
a6c5d3014d Switch to out-of-std bufstream 2015-05-05 11:40:14 -07:00
Steven Fackler
9f7fa790b1 More cleanup 2015-05-03 13:51:49 -07:00
Steven Fackler
91615088f5 Retry on interruption 2015-05-02 16:12:23 -07:00
Steven Fackler
16424dd267 Random cleanup 2015-05-02 15:55:53 -07:00
Steven Fackler
7d3b2509a4 Remove separate into_iter method 2015-05-02 13:40:06 -07:00
Steven Fackler
8b6777eee1 Only publish docs on nightly 2015-04-27 23:08:54 -07:00
Steven Fackler
c41cc891c2 Test on both nightly and beta 2015-04-27 22:56:06 -07:00
Steven Fackler
cd5537f803 Rename get_transaction_isolation to transaction_isolation 2015-04-24 22:10:57 -07:00
Steven Fackler
a12fe90ee1 Release v0.8.7 2015-04-22 23:30:42 -07:00
Steven Fackler
2887930c53 Fix link 2015-04-22 22:20:21 -07:00
Steven Fackler
afb3bcf08b Fix url breakage 2015-04-22 22:09:07 -07:00
Steven Fackler
8b43f0e3cf Add methods to access the session transaction isolation level
Closes #115
2015-04-22 22:03:09 -07:00
Steven Fackler
4a0067af6f Build docs without optional impls
There's no way to identify them as opt-in in the docs which is a
constant source of confusion so it's safer to just not mention them
there.
2015-04-20 21:29:34 -07:00
Steven Fackler
90810f2622 Release v0.8.6 2015-04-15 20:31:59 -07:00
Steven Fackler
411a8c495c Fix percent-encoded usernames and passwords
Closes #113
2015-04-15 20:31:38 -07:00
Steven Fackler
2eea62fed2 Release v0.8.5 2015-04-14 09:10:08 -07:00
Steven Fackler
045a87b65b grammar 2015-04-12 22:17:38 -07:00
Steven Fackler
7cb81a6205 Update rust target 2015-04-12 22:08:32 -07:00
Steven Fackler
8a01446858 Drop instability warning 2015-04-12 21:58:21 -07:00
Steven Fackler
487809c472 Mention postgres-large-object 2015-04-12 21:57:57 -07:00
Steven Fackler
5b7e435204 Add serde to table 2015-04-12 21:56:40 -07:00
Steven Fackler
62459f6944 Support serde's JSON type 2015-04-12 21:48:38 -07:00
Steven Fackler
a3725a9522 Move type checking to the right place in Slice impl 2015-04-12 11:26:39 -07:00
Steven Fackler
15034f9f4b Release v0.8.4 2015-04-12 11:11:46 -07:00
Steven Fackler
2bf9b09af9 Hack around rust-lang/rust#24308
Closes #111
2015-04-12 11:10:02 -07:00
Steven Fackler
b7313cef71 Integer type cleanup in message 2015-04-10 23:25:58 -07:00
Steven Fackler
3597bc2310 More cleanup 2015-04-08 23:46:06 -07:00
Steven Fackler
4b877e0a33 Cleanup 2015-04-07 23:57:22 -07:00
Steven Fackler
704d15bece Release v0.8.3 2015-04-07 22:00:19 -07:00
Steven Fackler
16777bf589 Merge pull request #108 from saggit/master
bump openssl to v0.6
2015-04-08 00:56:32 -04:00
Wahaha
65864e4710 bump openssl to v0.6 2015-04-07 17:09:59 +08:00
Steven Fackler
c848a9a87d Fix typo 2015-04-07 00:00:23 -07:00
Steven Fackler
d591470ead Release v0.8.2 2015-04-03 08:46:43 -07:00
Steven Fackler
e24d793db8 Fix build 2015-04-03 08:46:02 -07:00
Steven Fackler
7227d12bc5 Bump unix_socket 2015-04-02 11:59:27 -07:00
Steven Fackler
eb96d94c7a Release v0.8.1 2015-04-02 11:35:43 -07:00
Steven Fackler
a8d67a1fe4 Fix for upstream changes 2015-04-02 11:34:42 -07:00