Erick Tryzelaar
805a3435cf
Replace serde1 with serde2!
...
Closes #26 !
2015-03-08 22:56:33 -07:00
Thomas Bahn
361acd37d0
Follow rust std: int, uint were renamed to isize, usize
2015-02-06 22:23:15 +01:00
Erick Tryzelaar
8715a41158
Update to rust HEAD
2015-01-07 09:30:11 -08:00
Thomas Bahn
0957d5769d
Replace StrAllocating with String type in function parameters
...
The key parameter of the insert functions are of type String now.
As insert requires ownership of its parameter `key` and StrAllocating
being gone in rust these functions now communicate that ownership
in their signature.
As a result &str must be converted into a String at the caller instead
of the callee.
The Trait ToOwned isn't an alternative as it's a generalized Clone.
StrAllocating simply has hidden an allocation or move.
2014-12-23 18:05:58 +01:00
Thomas Bahn
681a609844
Replace TreeMap with BTreeMap in the serde tests
2014-12-23 17:44:26 +01:00
Thomas Bahn
19bda6a90d
Replace TreeMap/TreeSet with BTreeMap/BTreeSet in serde
...
Follow rust std changes:
https://github.com/rust-lang/rfcs/blob/master/text/0509-collections-reform-part-2.md
2014-12-20 14:42:48 +01:00
Erick Tryzelaar
0bd94c7653
serde List -> Array
2014-12-05 22:23:03 -08:00
Erick Tryzelaar
857723dff6
Fix serde to compile on master again
2014-11-22 16:27:01 -08:00
Erick Tryzelaar
7dee5a64d5
Allow the json::builder::ObjectBuilder to insert &str keys
2014-11-14 09:06:25 -08:00
Erick Tryzelaar
3c26cb9fe5
Factor the json value enum into it's own module
2014-11-14 08:22:59 -08:00
kvark
bfd1fb0ee9
Fixed String and Option conflicts for the latest Rust
2014-09-29 21:50:24 -04:00
Erick Tryzelaar
9d43fe43a9
json should work with large integers
2014-08-02 15:40:08 -07:00
Erick Tryzelaar
0df01a1888
move json into a directory, add builder helper
2014-07-31 07:01:23 -07:00