Alex Crichton
b0b9196d43
Merge pull request #182 from alanhdu/master
...
Fix some fuzzing bugs
2017-05-30 19:35:42 -05:00
Alan Du
87f51b38d1
Error when trying to serialize invalid float
2017-05-31 00:30:58 +01:00
Alan Du
90040b34b6
Error when parsing numbers outside of f64's range
2017-05-31 00:30:55 +01:00
Alan Du
90bdb7e96d
Encode control characters with hex not decimal
...
Fix https://github.com/alexcrichton/toml-rs/issues/178
2017-05-30 23:55:09 +01:00
Alan Du
d375f4d63a
Store fraction of seconds in times unconditionally
...
This way, times without fractional seconds will be compare equal to
times with 0 fractional seconds if all else is equal. For example,
06:00:00 == 06:00:00.0
Closes https://github.com/alexcrichton/toml-rs/issues/179
2017-05-30 23:50:58 +01:00
Alex Crichton
5170d66d51
Add extern crate serde
to examples/decode.rs
...
Closes #176
2017-05-15 14:30:18 -07:00
Alex Crichton
3a5162ba41
Bump to 0.4.1
2017-05-11 07:34:08 -07:00
Alex Crichton
38c17e6dca
Merge pull request #172 from rap2hpoutre/patch-1
...
add example for from_str
2017-05-10 13:19:47 -05:00
Alex Crichton
83a67e8a6f
Merge pull request #173 from rap2hpoutre/patch-2
...
add example for to_string
2017-05-10 13:05:55 -05:00
Raphaël Huchet
d5ffc6cc60
add example for to_string
2017-05-10 17:39:19 +02:00
Raphaël Huchet
9158482ed9
Update de.rs
2017-05-10 17:17:58 +02:00
Raphaël Huchet
0d3b3e3a36
add example for from_str
2017-05-10 16:49:35 +02:00
Alex Crichton
6bf46cae38
Merge pull request #170 from oli-obk/patch-1
...
Allow extracting the location of the error
2017-05-09 10:25:05 -05:00
Oliver Schneider
80ed3e7a7b
Document that line/col indices are 0 based
2017-05-09 17:08:26 +02:00
Oliver Schneider
26d39b3a15
Allow extracting the location of the error
2017-05-09 11:22:18 +02:00
Alex Crichton
bac92cdfad
Update doc urls to 0.4
...
Closes #168
2017-05-02 09:20:11 -07:00
Alex Crichton
137157f445
Merge pull request #165 from Keats/master
...
Allow to deserialize/serialize into enums
2017-04-28 15:01:08 -05:00
Vincent Prouillet
a6f22570ae
Address comment and make test pass
2017-04-28 13:00:37 +09:00
Vincent Prouillet
c675b4f259
Deserialize enum in Value
2017-04-25 13:57:35 +09:00
Vincent Prouillet
36f33ff3b3
Remove everything other than enum variant code
2017-04-25 12:06:04 +09:00
Alex Crichton
e95a6cbc67
Merge pull request #166 from kvark/patch-1
...
Fixed the serde dependency in the documentation
2017-04-24 22:31:13 +08:00
Dzmitry Malyshau
962506e5d6
Fixed the serde dependency in the documentation
2017-04-24 10:05:55 -04:00
Vincent Prouillet
7cb357c168
Allow to deserialize/serialize into enums
...
Close #164
2017-04-24 22:13:38 +09:00
Alex Crichton
046a3e5117
Bump to 0.4.0
2017-04-20 14:20:15 -07:00
Alex Crichton
dc5ff1ef90
Support serde 1.0.0
2017-04-20 10:16:00 -07:00
Alex Crichton
8683f1d22b
Merge pull request #157 from neosilky/clippy-fixes
...
Fix issues indicated by clippy
2017-04-12 09:13:50 -05:00
Daniel Lockyer
469e9f6bd2
Remove lifetimes
2017-04-12 09:29:00 +01:00
Daniel Lockyer
cecb0b58a7
Stop taking references when not needed
2017-04-12 09:29:00 +01:00
Daniel Lockyer
3034a7cf52
Simplify if-statements
2017-04-12 09:28:56 +01:00
Daniel Lockyer
50714395c2
Switch from comparison to is_empty()
2017-04-12 09:24:16 +01:00
Daniel Lockyer
de940a3373
Remove unneeded return statements
2017-04-12 09:24:16 +01:00
Alex Crichton
a87d005cc1
Merge pull request #161 from colin-kiegel/crate-polish
...
Crate polish
2017-04-05 16:50:51 -07:00
Alex Crichton
b3a92872a1
Merge pull request #160 from mre/error-handling-unwrap
...
Replace unwrap with expect in public-facing code
2017-04-05 16:49:48 -07:00
Matthias Endler
6f2f475b88
Replace unwrap with expect in public methods
2017-04-05 21:56:18 +02:00
Colin Kiegel
22168aa100
group mod statements consistently
2017-04-05 21:30:32 +02:00
Colin Kiegel
36b9b268ba
remove deadcode (unused since e256931e9b
)
2017-04-05 21:24:11 +02:00
Colin Kiegel
44c738acfd
travis - run tests on 1.15.0
2017-04-05 21:05:35 +02:00
Colin Kiegel
9d761f5614
doc - group link definitions
2017-04-05 20:51:36 +02:00
Alex Crichton
8207fda489
Merge pull request #158 from mre/patch-1
...
Add a beautiful badge for docs.rs
2017-04-05 11:22:35 -07:00
Matthias Endler
0dd2216983
Add a beautiful badge for docs.rs
2017-04-05 20:17:24 +02:00
Alex Crichton
7e8131ba43
Bump to 0.3.2
2017-03-31 18:45:14 -07:00
Alex Crichton
5152f3aca0
Fix backcompat with array definitions
2017-03-31 18:45:00 -07:00
Alex Crichton
9880b2518a
Bump to 0.3.1
2017-02-27 12:51:30 -08:00
Alex Crichton
b6178aed2a
Relax assertions in substr_offset slightly
...
Closes #152
2017-02-21 20:27:43 -08:00
Alex Crichton
c680668d22
Merge pull request #151 from EPashkin/fix_table_values_sorting
...
Fixed sorting of table values
2017-02-21 09:31:19 -06:00
Alex Crichton
edf22b74a1
Add support for serialize_bytes
...
Just serialize as a list of numbers.
Closes #150
2017-02-21 06:21:00 -08:00
Evgenii Pashkin
ded040ae9e
Fixed sorting of table values
2017-02-19 18:15:58 +03:00
Alex Crichton
a47c66a81d
Merge pull request #148 from rekka/patch-1
...
Fix serde.rs link in README.md
2017-02-13 08:28:01 -06:00
Norbert Pozar
6a792b3993
Fix serde.rs link in README.md
2017-02-13 11:00:47 +09:00
Alex Crichton
2fd12e72d8
Fix displaying empty arrays
...
Closes #145
2017-02-11 09:13:33 -08:00