Steven Fackler
6bada57e0f
Fix doc example
...
Looks like recent cargo nightlies started passing features to doc tests
2015-12-20 21:48:59 -07:00
Steven Fackler
45b0d8de7e
Bump security framework minimum version
...
Required for Debug impl
2015-12-20 20:26:39 -07:00
Steven Fackler
6a34eba6de
Ignore .cargo dir
2015-12-20 20:23:08 -07:00
Steven Fackler
fc8ab87797
Cleanup
2015-12-15 23:30:50 -08:00
Steven Fackler
25b32e0ede
Manually implement Debug for DbError
2015-12-14 20:36:18 -08:00
Steven Fackler
a6d9a214a6
Require Debug for StreamWrapper
2015-12-13 23:27:32 -08:00
Steven Fackler
2de8ecad6e
Fix readme
2015-12-13 23:12:17 -08:00
Steven Fackler
2863b2ea0e
Require Debug for NegotiateSsl
...
This forces the closure impl to go away but that seems not-important.
2015-12-13 22:46:24 -08:00
Steven Fackler
8fac512919
Make DbError fields public
...
All of them are directly exposed via accessors and the internal
representation is never realistically going to change. A single private
field allows for expansion in the future.
2015-12-12 20:30:50 -08:00
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