Commit Graph

1153 Commits

Author SHA1 Message Date
Steven Fackler
bfe7edfdfe Remove deprecated method 2015-05-26 21:43:37 -07:00
Steven Fackler
de97f79d6f Move Slice into types 2015-05-26 21:42:34 -07:00
Steven Fackler
d41b25c4ab Fix docs link
Closes #125
2015-05-26 08:56:28 -07:00
Steven Fackler
96d1a3af56 Drop Error::StreamDesynchronized 2015-05-25 23:27:12 -07:00
Steven Fackler
f800835456 Move error types to error module 2015-05-25 22:47:25 -07:00
Steven Fackler
417fb09b13 Un-reexport some type-related types 2015-05-25 22:09:00 -07:00
Steven Fackler
3e25dc4062 Clarify documentation 2015-05-25 20:52:06 -07:00
Steven Fackler
b75a63d384 Delete old copy in logic 2015-05-25 20:43:55 -07:00
Steven Fackler
a5c1d0ddce Don't build master docs
They aren't really all that useful.
2015-05-25 20:43:09 -07:00
Steven Fackler
9b9b82a7db Add copy_in to Statement 2015-05-25 20:40:57 -07:00
Steven Fackler
b5d9a38a59 Remove CopyInStatement
The API's awful to use.
2015-05-23 08:13:17 -07:00
Steven Fackler
e094ce66d6 Fix openssl impl 2015-05-22 21:45:51 -07:00
Steven Fackler
35197960b2 Restructure errors
WasNull and BadResponse are gone, and Conversion was added. IoError
covers the BadResponse case and Conversion is a more general version of
WasNull.
2015-05-22 21:21:30 -07:00
Steven Fackler
81fc578ca6 Move ugh_privacy stuff to normal places
Use private traits to expose constructors internally
2015-05-22 19:51:44 -07:00
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