Commit Graph

1459 Commits

Author SHA1 Message Date
Steven Fackler
3b202e6b1e Doc fixes 2015-12-12 20:21:44 -08:00
Steven Fackler
bc04239a1d Rustfmt 2015-12-12 19:22:51 -08:00
Steven Fackler
6fea7624d3 README fix 2015-12-12 19:06:50 -08:00
Steven Fackler
9d8b009aea Wait for thread termination in cancel_query test 2015-12-06 23:39:40 -08:00
Steven Fackler
47f9a660de Make cancel_query take a ref
Even though CancelData is Copy it's a bit weird for a function to take
ownership when it doesn't need to.
2015-12-06 23:38:26 -08:00
Steven Fackler
37954d1819 Update documentation to focus on direct execution and querying
It's the common case, so make things look simpler to a newcomer.
2015-12-06 23:35:28 -08:00
Steven Fackler
685557aba2 Use Connection::query in examples 2015-12-06 23:35:28 -08:00
Steven Fackler
7ea10a151e Remove deprecated methods in tests 2015-12-06 23:35:28 -08:00
Steven Fackler
811b0ffde9 Restructure SslMode
This is a large breaking change but makes things make way more sense
2015-12-06 23:35:28 -08:00
Steven Fackler
2818b9d9ee Mention Connection::query in README 2015-12-06 23:35:28 -08:00
Steven Fackler
4d5eed832a Add query to Transaction and GenericConnection 2015-12-06 23:35:28 -08:00
Steven Fackler
a3e967a4a1 Bump unix_socket version 2015-12-06 23:35:28 -08:00
Steven Fackler
9db19d4470 Remove old serde feature 2015-12-06 23:35:28 -08:00
Steven Fackler
afc067fb33 Remove deprecated from_sql_nullable 2015-12-06 23:35:28 -08:00
Steven Fackler
736f530ae9 Add Connection::query
Same deal as Connection::execute - a bit cheaper than preparing and
executing the statement normally.
2015-12-06 23:35:28 -08:00
Steven Fackler
fcc2768434 Second half of infrastructure for Connection::query
There are weird dropck issues introduced here that require those extra
semicolons in the test code.
2015-12-06 23:35:28 -08:00
Steven Fackler
f02cf54f24 First half of infrastructure to support Connection::query 2015-12-06 23:35:28 -08:00
Steven Fackler
58bb6c0e9a Remove rows::IntoIter
It's incompatible with Connection::query
2015-12-06 23:35:28 -08:00
Steven Fackler
458e7466b4 Remove CopyOutResponse case
You can't cncel a CopyOut.
2015-12-06 23:34:52 -08:00
Steven Fackler
2b7323c05e Use the commit method in readme 2015-12-06 17:21:44 -08:00
Steven Fackler
8c7e8c5830 rustfmt 2015-12-06 16:53:22 -08:00
Steven Fackler
19111a30bf Reorder some connection methods
Roughly rank them by which usage
2015-12-06 16:08:37 -08:00
Steven Fackler
9cb5cad656 Minimize stuff stored in package 2015-12-06 14:41:55 -08:00
Steven Fackler
0e6b03d06b Use a smaller crate for hex stuff
It's really overkill to pull in rustc_serialize just for hex conversions
2015-12-06 14:28:12 -08:00
Steven Fackler
cc4441f958 Cleanup 2015-12-06 13:35:52 -08:00
Steven Fackler
ef2c427035 Last bit of extra stuff for bit-vec feature 2015-12-06 12:42:57 -08:00
Steven Fackler
d77577eaaa Support BIT/VARBIT to BitVec
Closes #148
2015-12-06 12:40:12 -08:00
Steven Fackler
fee6d358bf Tell cargo not to rebuild the world all the time 2015-12-05 18:57:00 -08:00
Steven Fackler
9c89db308e Doc cleanup 2015-12-05 18:41:44 -08:00
Steven Fackler
4f0a5fa255 Remove another old workaround 2015-12-05 18:37:05 -08:00
Steven Fackler
2504aa504a Remove useless parens 2015-12-05 18:32:37 -08:00
Steven Fackler
d39cd08281 Tighten unix_socket versions
The socket_timeout feature was introduced in 0.4.1
2015-12-05 15:41:32 -08:00
Steven Fackler
4bdbcd8265 Impl NegotiateSsl for closures + rustfmt 2015-12-05 14:44:40 -08:00
Steven Fackler
a217c5cd00 NegotiateSsl implementation for security_framework 2015-12-05 14:35:17 -08:00
Steven Fackler
dd301c496a Merge branch 'release' 2015-12-02 21:59:42 -08:00
Steven Fackler
a402f7d3a6 Merge branch 'release-v0.10.2' into release 2015-12-02 21:58:29 -08:00
Steven Fackler
3622a2e031 Release v0.10.2 2015-12-02 21:58:16 -08:00
Steven Fackler
61bed29de8 More doc fixes 2015-11-29 21:43:47 -08:00
Steven Fackler
a9effb427a Make examples consistent 2015-11-29 20:00:25 -08:00
Steven Fackler
e13cca9fe8 Fix link in readme 2015-11-29 10:59:04 -08:00
Steven Fackler
72b96da37b Fix indentation 2015-11-28 21:22:13 -08:00
Steven Fackler
d12b01ab89 Handle copy out in quick_query 2015-11-28 21:20:52 -08:00
Steven Fackler
1aabcdbb2a Use h1s in docs 2015-11-28 21:05:13 -08:00
Steven Fackler
9e4c30ab51 Merge pull request #145 from ReadmeCritic/master
Update README URLs based on HTTP redirects
2015-11-18 12:45:24 -08:00
ReadmeCritic
4da207b100 Update JSON/JSONB types 2015-11-18 12:39:49 -08:00
ReadmeCritic
7c50f42b98 Update README URLs based on HTTP redirects 2015-11-18 10:28:57 -08:00
Steven Fackler
e4b8cb80c7 Merge pull request #144 from tohou/master
Correct misnamed feature in the README
2015-11-18 10:28:02 -08:00
Tom Houlé
d7c4b3ddb2 Correct misnamed feature in the README
The README indicated `serde` as the feature corresponding to
`serde_json::Value`’s FromSql and ToSql implementations, when it is in
fact the `serde_json` feature.

The corresponding module documentation gives the right information.
2015-11-18 12:18:55 +01:00
Steven Fackler
329de1c0e6 Remove unneeded .gitattributes
The bug that requried this was fixed years ago
2015-11-16 22:36:56 -08:00
Steven Fackler
214502c458 Bump openssl version 2015-11-16 21:50:25 -08:00