Commit Graph

1189 Commits

Author SHA1 Message Date
Steven Fackler
0a4427e760 Fix chrono support 2015-05-21 22:55:44 -07:00
Steven Fackler
5b353aaed3 Add a SessionInfo field to ToSql and FromSql methods
Backend parameters such as timezone or server_version can be useful for
conversion methods to have access to.
2015-05-21 22:28:51 -07:00
Steven Fackler
dac19e8100 Extend unix_socket support range 2015-05-17 21:27:10 -07:00
Steven Fackler
99466da700 Update README for stable release 2015-05-17 21:04:44 -07:00
Steven Fackler
76db16eac8 Fix feature set for docs 2015-05-17 20:45:36 -07:00
Steven Fackler
d651927005 Capitalize Cargo 2015-05-17 20:34:49 -07:00
Steven Fackler
edb990d20f Document type support on ToSql and FromSql
This also lets us turn back on all of the features in doc builds
2015-05-17 20:27:39 -07:00
Steven Fackler
9d99ea300a Document NegotiateSsl impl for SslContext 2015-05-17 19:48:18 -07:00
Steven Fackler
975c9fd5dd Build against stable! 2015-05-16 21:18:48 -07:00
Steven Fackler
ed26ff0042 Merge branch 'breaks' 2015-05-16 20:42:25 -07:00
Steven Fackler
9343ed287a Merge branch 'release' 2015-05-16 18:58:13 -07:00
Steven Fackler
ee5d171a07 Fix README URL 2015-05-16 15:01:42 -07:00
Steven Fackler
1b5283a3b0 Deploy master docs to master folder 2015-05-16 15:01:24 -07:00
Steven Fackler
aae925a449 Merge branch 'release-v0.8.9' into release 2015-05-16 14:52:55 -07:00
Steven Fackler
7d800c6ecf Bump version to v0.8.9 2015-05-16 14:52:44 -07:00
Steven Fackler
cfce42ae0b README consistency 2015-05-14 21:05:57 -07:00
Steven Fackler
40f3402fcd Don't qualify HashMap in README 2015-05-14 21:05:25 -07:00
Steven Fackler
21f39b162e Upgrade chrono and get rid of workaround 2015-05-14 20:31:07 -07:00
Steven Fackler
1f251c4c73 Simplify NaiveDate and NaiveTime logic 2015-05-14 20:29:14 -07:00
Steven Fackler
c25f3fac94 Make capitalization consitent for options 2015-05-13 22:59:25 -07:00
Steven Fackler
fde87d8146 Test chrono support 2015-05-13 22:26:05 -07:00
Steven Fackler
0d63eeba50 Add optional chrono support 2015-05-13 22:25:43 -07:00
Steven Fackler
ae384d8908 Sort deps 2015-05-13 15:24:04 -07:00
Steven Fackler
26e55ff2bc Change negotiate_ssl back to taking &self
It's not clear that &mut is necessary and it makes connection calls a
bit nicer looking.
2015-05-13 15:17:37 -07:00
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