Commit Graph

63 Commits

Author SHA1 Message Date
Steven Fackler
89f9960fe7 Use FromError 2014-11-16 22:54:57 -08:00
Steven Fackler
b81acaab4c Add impl docs for optional impls 2014-11-06 08:32:05 -08:00
Steven Fackler
4f80c32967 Add optional UUID support
Closes #72
2014-11-06 07:56:00 -08:00
Steven Fackler
ad82d28d18 Demangle PostgresType 2014-11-03 21:31:08 -08:00
Steven Fackler
cea15783a5 PostgresResult -> Result 2014-11-01 16:12:05 -07:00
Steven Fackler
a151a5ba02 Update for rust changes 2014-10-31 08:51:27 -07:00
Steven Fackler
4751787939 Clean up some warnings 2014-10-25 20:54:27 -07:00
Steven Fackler
6484836b68 Revert "DSTify ToSql"
This causes ICEs

This reverts commit c63a7f9a15.
2014-10-25 20:24:08 -07:00
Steven Fackler
c63a7f9a15 DSTify ToSql 2014-10-25 10:19:49 -07:00
Steven Fackler
86bf3b719b Switch some .to_string to .into_string 2014-10-18 11:17:12 -07:00
Steven Fackler
abd60ef1cf static -> const 2014-10-09 21:50:40 -07:00
Steven Fackler
e5ed2ba96e Use new slice syntax 2014-10-04 20:08:44 -07:00
Steven Fackler
011d531b1d Remove Binary/Text choice from ToSql
Text format doesn't work with our COPY implementation, and FromSql is
already binary only.
2014-09-29 23:41:13 -07:00
Steven Fackler
5410363f49 Fix deprecations 2014-09-24 00:18:27 -07:00
Steven Fackler
c40fc64197 Reenable types::array
We really shouldn't need the 'static bound on T, but that can be fixed
another day.
2014-09-11 21:40:52 -07:00
Steven Fackler
e362feb85b Suppress warnings 2014-09-11 21:35:10 -07:00
Steven Fackler
7a84a16b41 Get things building again
I'm temporarily diabling arrays until I have a chance to look over and
make sure the API is sound.

This also works around a trait object coercion regression:
rust-lang/rust#16861
2014-08-30 10:25:38 +01:00
Steven Fackler
30a3210be0 Revert "Strip prefixes from types"
This reverts commit ccdb02f661.

I'm not sure this is the right way to go just yet
2014-08-18 22:02:16 -07:00
Steven Fackler
ccdb02f661 Strip prefixes from types
They can be prefixed with the crate name
2014-08-18 21:52:56 -07:00
Steven Fackler
97efc52a3b Formatting cleanup 2014-08-14 23:05:11 -07:00
Steven Fackler
455dea3bd0 Force all result formats to binary 2014-08-14 20:22:12 -07:00
Steven Fackler
d374641ecb Remove some indirection from files 2014-08-02 19:10:45 -07:00
Steven Fackler
42123f7765 Extract tests to a separate crate
This ensures that we're only testing public API and speeds up the
development process.
2014-06-30 21:30:39 -07:00
Steven Fackler
aa457cb5be to_string -> to_str 2014-06-05 23:32:49 -07:00
Steven Fackler
216f15d33d Update for collections changes 2014-06-05 20:50:23 -07:00
Steven Fackler
01d8352773 De-Total 2014-06-01 19:57:27 -07:00
Steven Fackler
2a0f92a411 Update for cmp changes 2014-05-31 10:11:18 -07:00
Steven Fackler
e6b45ed291 Update for upstream changes 2014-05-28 21:54:02 -07:00
Steven Fackler
d2cd820f71 StrBuf -> String 2014-05-25 20:38:40 -07:00
Steven Fackler
584226bd23 Stop using to_strbuf 2014-05-24 20:42:07 -07:00
Steven Fackler
7849a5843d Death to ~str! 2014-05-15 19:59:01 -07:00
Steven Fackler
dcd47041d0 More ~str -> StrBuf 2014-05-15 19:27:19 -07:00
Steven Fackler
a00ad0d54e Start to move to StrBuf 2014-05-11 21:52:59 -07:00
James Sanders
b1e3e0e86e Add "name" type
This is the type of the datname column in pg_database, which I want so
that I can get a full list of databases. I'm mimicing the text types,
which seems to work, but I'm not sure if it's really the proper way to do it.
2014-05-02 17:38:06 -06:00
Steven Fackler
038639e433 Use PostgresResult in types 2014-04-26 15:07:48 -07:00
Steven Fackler
180c13dee6 Clean up string creation 2014-04-26 14:46:38 -07:00
Steven Fackler
36f4266738 Clean up some internal macros 2014-04-22 23:02:56 -07:00
Steven Fackler
59e548623c De ~"" 2014-04-21 21:01:44 -07:00
Steven Fackler
0d70c17151 Update for IO Vec changes 2014-04-07 20:02:05 -07:00
Steven Fackler
3181d39be8 Use more idiomatic names for row iterators 2014-04-02 00:16:21 -07:00
Steven Fackler
b2c7e08627 Fix up timespec ToSql impl 2014-04-01 19:50:26 -07:00
Steven Fackler
3e5a48dfb6 Update for privacy overhaul
The ToSql impl for Timespec is broken as some fields became accidentally
private
2014-04-01 00:32:10 -07:00
Steven Fackler
b930bc36f9 Remove yet more failure 2014-03-29 19:01:23 -07:00
Steven Fackler
4adf743aeb Update for upstream changes 2014-03-29 14:33:11 -07:00
Steven Fackler
61f9f43cf3 Stop failing on wrong types 2014-03-27 22:43:10 -07:00
Steven Fackler
613ceec630 Updates for upstream changes 2014-03-22 21:20:22 -07:00
Steven Fackler
ec82c45cc9 Updates for API changes 2014-03-20 19:14:20 -07:00
Steven Fackler
0aec726b69 De-~[] array 2014-03-18 23:07:12 -07:00
Steven Fackler
15eb3891c5 Down with libextra! 2014-03-15 21:35:44 -07:00
Steven Fackler
c5abe8c0d7 Add ToSql impls for Vec 2014-03-14 23:01:46 -07:00