Commit graph

256 commits

Author SHA1 Message Date
Alex Crichton f011b01051 Make serde-tests a standalone crate 2015-08-13 09:39:49 -07:00
Erick Tryzelaar 85cd6f3e6e Rewrite the MapVisitor to add errors for a specific field 2015-08-13 08:25:56 -07:00
Erick Tryzelaar 8c33064c2c Override the numeric hints to not deserialize ints into floats, and vice versa 2015-08-13 08:25:56 -07:00
Erick Tryzelaar e5efc8801d Add a Deserialize::visit_enum that tries to deserialize into each variant
This could be more efficiently done if serde communicated the
number of arguments in each variant in this function.
2015-08-13 08:25:56 -07:00
Erick Tryzelaar b7b31bf9da Implement Serialize::visit_newtype_{struct,variant}
These functions allow a serializer to not wrap a newtyped value
inside of a tuple or struct.
2015-08-13 07:42:06 -07:00
Erick Tryzelaar bbc167cde9 Get serde feature compiling again 2015-08-12 23:01:49 -07:00
Erick Tryzelaar 4e0172a9a5 Merge remote-tracking branch 'remotes/origin/master' into serde 2015-08-12 22:15:58 -07:00
Alex Crichton b70f6e53b2 Don't need to qualify String 2015-08-11 09:18:52 -07:00
Alex Crichton fac884d032 Merge pull request #66 from roguePanda/serde
Implement Deserialize for Value
2015-08-10 08:44:44 -07:00
Ben Navetta 8a2282fecd it helps to actually build with serde enabled 2015-08-06 23:33:39 -04:00
Ben Navetta 00337d088e implement serde::Deserialize for Value 2015-08-06 23:30:08 -04:00
Alex Crichton baf77e44c3 Add coverage badge 2015-07-10 15:10:57 -07:00
Alex Crichton 2683e19682 Upload docs only on nightly 2015-07-10 15:09:04 -07:00
Alex Crichton 5cf475fc40 Use travis-cargo for coverage + doc upload 2015-07-10 15:03:01 -07:00
Alex Crichton c5119e743c Bump to 0.1.21 2015-06-23 17:45:55 -07:00
Alex Crichton 89332806c5 Improve the error message in failing enums 2015-06-23 17:45:48 -07:00
Alex Crichton 27a70d4024 Name the fields of the custom table AST 2015-06-08 00:04:30 -07:00
Alex Crichton 00baf76107 Add a few more tests for redefining tables 2015-06-07 23:58:45 -07:00
Alex Crichton 88461157f2 Clean up more style 2015-06-07 23:57:50 -07:00
Alex Crichton 68924534e2 Use deref coercions 2015-06-07 23:48:32 -07:00
Alex Crichton e96e25bec7 Add a toml to json example 2015-06-07 23:47:29 -07:00
Alex Crichton 6580b77a20 Re-structure control flow a bit + modernization 2015-06-07 23:47:22 -07:00
Andrzej Janik 8487b63c97 Rework fix for table redefinition to avoid breaking AST-compatiblity 2015-06-06 18:11:48 +02:00
Andrzej Janik 2fcd829b1d Disallow table redefinitions 2015-06-04 20:23:46 +02:00
Alex Crichton 971700148b Test on beta as well 2015-05-15 11:52:49 -07:00
Alex Crichton 321afe6205 Try out a new travis config 2015-05-15 11:50:37 -07:00
Alex Crichton a65e91bf57 Continue to tweak travis for serde 2015-04-21 13:35:29 -07:00
Alex Crichton 94023b1d89 Fix serde-only compilation 2015-04-21 12:00:05 -07:00
Alex Crichton 3301c39630 Tweak some style 2015-04-21 09:16:06 -07:00
Alex Crichton 5dd623d3b1 Merge pull request #61 from oli-obk/serde
Serde
2015-04-21 09:15:19 -07:00
Oliver Schneider 6e2f2c39e4 most tests work now 2015-04-20 15:11:34 +02:00
Oliver Schneider ac86f4c941 updated to master 2015-04-20 12:29:58 +02:00
Alex Crichton 6713224564 Tweak doc url in README 2015-04-08 08:01:49 -07:00
Alex Crichton 41563ee01b wip 2015-04-02 17:12:37 -07:00
Alex Crichton 2d49247b92 Modularize rustc-serialize support
* Add rustc-serialize as a default feature
* Make room for for serde support
2015-04-02 17:07:37 -07:00
Alex Crichton cd33b87bf9 Bump to 0.1.20 2015-04-01 09:56:05 -07:00
Alex Crichton c8a5ca4ece Bump to 0.1.19 2015-03-25 10:11:05 -07:00
Alex Crichton 2c5aa07722 Implement Encodable for Value
We can't generically decode into one, but we can generically encode one!

Closes #58
2015-03-20 10:53:36 -07:00
Alex Crichton b852af0a60 Improve test coverage 2015-03-15 11:26:32 -07:00
Alex Crichton ff3bb7d255 Reduce usage of unstable features 2015-03-09 11:09:07 -07:00
Alex Crichton e14c2052b7 Don't upload extra docs on travis 2015-03-03 20:35:04 -08:00
Alex Crichton ce941cd80e Merge pull request #56 from sfackler/doc
Add a doc root url
2015-03-03 17:28:19 -08:00
Steven Fackler 93e5ace69c Add a doc root url 2015-03-03 20:27:09 -05:00
Alex Crichton abe9e16da6 Bump to 0.1.18 2015-02-25 14:53:33 -08:00
Alex Crichton 77547e8d08 Merge pull request #55 from globin/bump-serialize
Bump rustc-serialize to 0.3
2015-02-24 09:02:11 -08:00
Robin Gloster 6fed03463c Bump rustc-serialize to 0.3 2015-02-24 15:26:17 +01:00
Alex Crichton 1bebfa1394 Move away from deprecated syntax 2015-02-23 14:45:02 -08:00
Alex Crichton 39ffe7a449 Add v0.4.0 compliance test 2015-02-13 18:31:04 -08:00
Alex Crichton 7316b53d56 Linkify TOML in README 2015-02-13 18:21:50 -08:00
Alex Crichton a96209eba2 Clarify TOML compliance
Closes #54
2015-02-13 18:18:36 -08:00