David Tolnay
a1b1199e72
Test stream behavior after error
2020-04-04 10:24:23 -07:00
David Tolnay
67dfe5951b
Switch rustfmt skip to tool attribute
2020-01-22 15:57:07 -08:00
David Tolnay
3040daa1c6
Update tests to 2018 edition
2020-01-22 13:45:47 -08:00
Yorhel
69bfbfc71f
Return EOF error on cut-off negative sign or exponent
2019-03-19 10:10:34 +01:00
Yorhel
367a1de69e
Return EOF error on cut-off decimal number
...
Fixes #524
2019-03-18 14:08:13 +01:00
David Tolnay
4d5234c8d9
Copyright/license headers
...
The following changes are included:
- Delete per-file license notices at the top of each file.
- Delete the first paragraph of LICENSE-MIT (an inaccurate
pseudo-copyright line), leaving only the text of the MIT license.
Nothing about the license of Serde code has changed, only our
understanding of how to correctly communicate the license has changed.
This mirrors an equivalent change being applied in the rust-lang/rust
repository.
2019-01-12 15:14:56 -08:00
David Tolnay
9530ff6337
Skip auto formatting test_stream macro
2018-07-08 19:01:02 -07:00
David Tolnay
654e6e8349
Format with rustfmt 0.4.1
2018-03-27 10:24:10 +02:00
Bouke van der Bijl
8b486189b7
Support top-level primitives in StreamDeserializer
2017-12-01 18:41:25 +01:00
David Tolnay
ac8b4fcb70
Remove deserialization from Iterator<Item = io::Result<u8>>
...
Use `from_reader` instead.
2017-04-19 18:51:17 -07:00
David Tolnay
4595e1a7bd
Format in rfc style
2017-04-18 14:29:29 -07:00
David Tolnay
8797e77ffc
License boilerplate
2017-04-13 18:14:30 -07:00
David Tolnay
4e44e6c73d
Test byte offsets of stream
2017-04-13 09:27:23 -07:00
David Tolnay
0d3fd8b0be
Run the existing tests against every type of stream
2017-04-13 09:18:49 -07:00
David Tolnay
fb9827e0e9
Move stream tests to their own file
2017-04-13 09:05:24 -07:00