Erick Tryzelaar
8715a41158
Update to rust HEAD
2015-01-07 09:30:11 -08:00
Erick Tryzelaar
b98719a4a0
update to rust HEAD, switch to rustc_serialize
2015-01-04 17:18:50 -08:00
Thomas Bahn
814c0570b8
Fix: String::from_utf8 became stable and changed signature
2015-01-01 14:22:23 +01:00
Thomas Bahn
85d0c8e4e8
Rename FP* to FpCategory::* following std changes
2014-12-30 14:52:27 +01:00
Thomas Bahn
589a07d4c9
Silence deprecation warnings
...
str::char_len() is deprecated in favour of chars().count()
2014-12-23 18:05:58 +01:00
Thomas Bahn
91cfb003d9
Fix: String::from_utf8 changed function signature
...
Following a rust std change.
2014-12-23 18:05:58 +01:00
Thomas Bahn
3cf0fb8d5b
Fix: Utf16 handling moved from std into unicode crate
...
Following a rust change.
2014-12-23 18:05:58 +01: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
cca63836d2
Replace MoveItems and MoveEntries with IntoIter
...
Following a rust std change.
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
Thomas Bahn
d6807c0e90
Append semicolon to item macro invocations in serde
...
Following changes in rustc.
2014-12-19 08:59:11 +01:00
Erick Tryzelaar
73f375673b
Simplify down some code
2014-12-14 11:34:27 -08:00
Erick Tryzelaar
246396fdb4
update to rust HEAD, fix the tests
2014-12-13 16:55:42 -08:00
Erick Tryzelaar
e5ddf759de
cleanup serde::json::value
2014-12-05 22:33:30 -08:00
Erick Tryzelaar
0bd94c7653
serde List -> Array
2014-12-05 22:23:03 -08:00
Erick Tryzelaar
38dc9aaf72
clean up serde json deserializing
2014-12-05 22:19:05 -08:00
Erick Tryzelaar
9d55333f06
update to the latest nightly
2014-12-01 12:21:18 -08:00
Erick Tryzelaar
857723dff6
Fix serde to compile on master again
2014-11-22 16:27:01 -08:00
Erick Tryzelaar
ff8c8c77cc
Update to latest rust master
2014-11-17 19:21:46 -08:00
Erick Tryzelaar
18d943e8a7
migrate json deserializer into it's own module, clean up errors
2014-11-14 20:55:49 -08:00
Erick Tryzelaar
4ce5ae8025
pull the json serializer into it's own module
2014-11-14 20:55:49 -08:00
Erick Tryzelaar
34ee45b794
Rename json::ParserError to json::Error, use the new error framework
2014-11-14 19:41:41 -08:00
Erick Tryzelaar
2b121b0db8
Rename the json::Value deserializer
2014-11-14 19:26:52 -08:00
Erick Tryzelaar
db17fe4f3c
Update the json examples to use the builder
2014-11-14 09:24:32 -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
Erick Tryzelaar
21a58e86e4
Rename Serializable to Serialize, Deserializable to Deserialize
2014-11-13 07:54:44 -08:00
Renato Zannon
bad51b197f
Fix new deprecations from collections reform
2014-11-07 18:28:31 -02:00
Renato Zannon
ba67a8b3b2
Updates to match new operator method lookup
2014-11-07 18:23:44 -02:00
Renato Zannon
d3a43a80cd
Update to rust nightly (treemap -> tree_map)
2014-11-04 20:37:37 -02:00
Erick Tryzelaar
23f3173ded
update to rust HEAD
2014-11-03 12:58:36 -08:00
Erick Tryzelaar
20e642420e
Convert the json parser over to working with bytes
2014-10-23 10:26:52 -07:00
Erick Tryzelaar
475fd50564
rewrite deserialization to allow for copy-less struct fields
2014-10-23 10:26:52 -07:00
Erick Tryzelaar
292a820e3a
silence some warnings
2014-10-23 10:26:52 -07:00
Erick Tryzelaar
2a40b4e810
Fix compiling json
2014-10-23 10:26:52 -07:00
Erick Tryzelaar
538fcf244f
fix the remaining warnings
2014-10-06 21:50:22 -07:00
Erick Tryzelaar
da34268be1
Fix some lints
2014-10-06 21:44:01 -07:00
kvark
b08a647fc1
Fixed the stack overflow with an Writer wrapper
2014-10-06 23:22:18 -04:00
kvark
7ccb7fbf37
Fixed ranged match arm syntax
2014-10-04 22:05:29 -04:00
kvark
997d3901c1
Fixed all the tests
2014-09-29 21:58:22 -04:00
kvark
bfd1fb0ee9
Fixed String and Option conflicts for the latest Rust
2014-09-29 21:50:24 -04:00
kvark
4a713cdbea
Improved SyntaxError
2014-09-07 09:59:17 -04:00
Erick Tryzelaar
6e1e8a75f3
Merge remote-tracking branch 'remotes/origin/master'
...
Conflicts:
.gitignore
2014-09-07 01:20:51 -07:00
Erick Tryzelaar
0cd64bfb14
Move the benchmarks into a benches/ directory
2014-09-06 20:41:13 -07:00
kvark
6b62229dae
Updated non_snake_case and struct lifetimes for the latest Rust
2014-09-04 21:57:13 -04:00
Erick Tryzelaar
4310645c7e
factor out serde2
2014-09-01 13:39:00 -07:00
Erick Tryzelaar
34c38cf3a5
Experimenting with another serialization formulation
2014-09-01 13:14:56 -07:00
Erick Tryzelaar
3a6eb83da6
typarameterize Serializer
2014-09-01 13:14:52 -07:00
Erick Tryzelaar
a24075559f
Move the Deserializer typarams onto from the method to the Deserializable trait
2014-08-19 15:18:47 -07:00