Ty Overby
68ca894b81
add deserialize_in_place
2018-02-07 18:32:10 -08:00
Ty Overby
b31151a605
2nd implementation of the Config Trait ( #214 )
...
* add option and config traits
* thread options everywhere
* add WithOtherLimit, WithOtherEndian, and update internal to take advantage of it
* wip
* add rest of the public API and fix tests
* dtolnay feedback
* remove serialized_size_bounded and replace it with a use of config
* remove inline from trait method
* finish documentation and add custom reader support
* minor config_map refactor
* doc changes
* add with_(de)serializer functions and their associated modules
2018-02-07 18:26:46 -08:00
Ty Overby
40889ec016
capitalize Bincode
2017-10-13 17:38:36 -07:00
Ty Overby
de942273a0
remove infinite terminology from SequenceMustHaveLength message
2017-10-13 17:32:04 -07:00
Ty Overby
94b3de8f3c
remove decding terminology from sizelimit error message
2017-10-13 17:29:44 -07:00
Ty Overby
c696aac206
fix mistake
2017-10-13 10:17:58 -07:00
Ty Overby
7dc7a94560
improve size limit error display
2017-10-13 08:59:08 -07:00
Ty Overby
3a24da087b
cargo fmt source
2017-10-13 08:57:04 -07:00
Ty Overby
c8f02e30aa
177 invalid encodings ( #212 )
...
* split out invalid encoding errors
* detail breaking changes
2017-10-12 09:04:14 -07:00
Ty Overby
45e70e297e
add ErrorKind::DeserializeAnyNotSupported ( #211 )
2017-10-11 10:38:35 -07:00
Ty Overby
d04ba007dc
remove references to old type ( #210 )
2017-10-11 09:53:45 -07:00
Ty Overby
a135fd44dc
uncapitalize error messages ( #209 )
2017-10-11 09:53:36 -07:00
Lena Hellström
4777efdfaa
take reader and writer by value ( #200 )
2017-07-23 21:58:29 -07:00
Lena Hellström
34aba9acbe
Internal type names ( #199 )
...
* Remove internal type names from api
* Rename IoReadReader to IoReader
2017-07-23 21:57:53 -07:00
David Tolnay
2f1ab0a0e5
Revert whitespace changes from #194
2017-07-22 13:35:13 -07:00
David Tolnay
d44adb148e
Correctly report the cause of IO error
...
This was fixed in #195 but unintentionally reverted in #194 .
2017-07-22 13:34:29 -07:00
David Tolnay
815c44287a
Merge pull request #194 from dgriffen/io-variant-names
2017-07-22 13:32:46 -07:00
Lena Hellström
18bcfc420e
Seal SizeLimit and BincodeRead
2017-07-22 14:37:08 -05:00
Lena Hellström
b6dbb08f92
Correctlly report the cause of IoError ( #195 )
2017-07-20 10:12:36 -07:00
Lena Hellström
d55bbf150f
Remove naming redundancy with IoError
2017-07-18 21:54:23 -07:00
Ty Overby
6692674f43
WIP Implement nocopy support for bincode ( #150 )
...
* basic infrastructure
* use BincodeRead internally
* fix zero copy behavior
* rearrange module layout; remove pub(crate)
* add size-limit safety checks when deserializing str or bytes
* fix-up tests
2017-04-20 18:27:22 -07:00