Ty Overby
d8704644d7
format
2018-09-04 16:25:10 -07:00
Ashley Mannix
2ef9a06894
add support for 128bit numbers
2018-05-30 09:44:38 -07:00
Ty Overby
72f002cc0a
some comment fixes
2018-02-13 16:24:57 -08:00
Ty Overby
5081ac7c08
remove unused function type parameter
2018-02-07 20:23:07 -08:00
Ty Overby
24b007e194
public but hidden read types
2018-02-07 20:13:26 -08:00
Ty Overby
3c5b38097f
hide with_deserializer and with_serializer
2018-02-07 19:46:25 -08:00
Ty Overby
76b7662dcd
move to custom read implementation for deserialize_in_place
2018-02-07 19:39:27 -08:00
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
47b66f55ce
switched type parameter on deserializer
2017-10-13 17:44:36 -07:00
Ty Overby
251bbe22d4
remove _types from read module
2017-10-13 17:42:09 -07:00
Ty Overby
40889ec016
capitalize Bincode
2017-10-13 17:38:36 -07:00
Ty Overby
3a24da087b
cargo fmt source
2017-10-13 08:57:04 -07:00
Ty Overby
d04ba007dc
remove references to old type ( #210 )
2017-10-11 09:53:45 -07:00
Ty Overby
62941544ea
rename doc functions ( #208 )
...
* fix up docs
2017-10-10 16:41:27 -07:00
Ty Overby
ab70e7d507
remove completely unused dependency
2017-10-10 10:32:18 -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
Lena Hellström
18bcfc420e
Seal SizeLimit and BincodeRead
2017-07-22 14:37:08 -05: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
David Tolnay
7eccffd783
Update to serde 1.0 branch ( #149 )
...
* Update to serde 1.0 branch
* The serde 1.0 branch merged
2017-04-19 16:05:59 -07:00
Ty Overby
c6fa2358e5
add docs to everything that was undocumented
2017-03-20 17:32:55 -07:00
Ty Overby
539637d78b
remove refbox ( #140 )
2017-03-19 20:10:35 -07:00
Ty Overby
2b465047b9
Eager prealloc no inline ( #127 )
...
* make SizeLimit a trait
* always preallocate
2017-03-17 18:14:59 -07:00
Ty Overby
f4c97fde6a
make SizeLimit a trait ( #124 )
...
* make SizeLimit a trait
* move inline to the correct location
2017-03-17 17:59:12 -07:00
Olaf Buddenhagen
5784fe28ad
Fix unintentional breaking API change in `Serializer`/`Deserializer` ( #128 )
...
While introducing selectable endianness in
https://github.com/TyOverby/bincode/pull/103 , the new type parameter
has been hidden from the public `serialize()`, `deserialize()` etc.
functions, and only made available through an alternate API entry point.
The same kind of encapsulation also needs to be performed for the public
`Serializer` and `Deserializer` types.
2017-03-01 17:14:11 -08:00
Ty Overby
1631cb2d80
Make Reader and Writer generic on Endianness ( #103 )
...
* Make Reader and Writer generic on Endianness
* make alternate API modules
* add test asserting that big endian encoding is different from little endian encoding
* clean up tests
2017-02-24 18:58:46 -08:00
Ty Overby
e7a74aa6c2
Remove rustc serialize support ( #95 )
...
* Remove rustc_serialize support
* Add changelist and bump version number for alpha
* Move refbox and friends into own module
* update changelog
* update travis config
* move serde functions out into global namespace
2017-01-31 15:50:55 -08:00
Ms2ger
c7bdb4a90c
Use num-traits. ( #72 )
2016-04-21 09:28:33 -07:00
Alexander Bulaev
ff69e6f3e1
Add cargo features for rustc-serialize and serde ( #70 )
...
* Add cargo features for rustc-serialize and serde
If you only really need one of them
* Check that both "serde" and "rustc-serialize" are compiling
* Minor: change Travis build order
2016-04-15 11:03:32 -07:00
Brian Bowman
127380a506
fix typo
2016-04-07 03:05:41 -05:00
Ty Overby
a63e80d75d
add docs for the new modules
2015-08-07 23:16:35 -07:00
Ty Overby
0cfb64511c
moved the two designs into modules
2015-08-07 17:35:27 -07:00
Ty Overby
9c6bf1aa41
remove unused code
2015-08-07 16:39:15 -07:00
Erick Tryzelaar
0d6b8a48b6
Get serde working
2015-07-29 13:15:04 -07:00
Erick Tryzelaar
b206032ff1
Initial support for serde serialization
2015-07-01 15:21:26 -07:00
Erick Tryzelaar
f11ba0c41f
Move tests into the tests/ directory
2015-06-30 07:52:18 -07:00
Ty Overby
e3837055d7
Removes the "bytes read" return part from `decode`
...
This reverts commit 5fa0c2bd8a .
Conflicts:
Cargo.toml
2015-05-18 23:28:39 -07:00
Ty Overby
3d8f97923d
strbox and slicebox
2015-05-02 03:52:27 -07:00
Ty Overby
5fa0c2bd8a
Decoders return the number of bytes that they read
...
Closes #35
2015-05-01 09:17:18 -07:00
Ty Overby
d87e7dad2d
rustfmt
2015-04-29 23:26:58 -07:00
TyOverby
209b274062
remove dependency on the unicode library
2015-04-29 18:09:01 -07:00
Mohd Tarmizi
4e0f2457ac
Fix rustdoc comment syntax
...
I also moved the comment block to the top of the file so that rustdoc won't throw "expected outer comment" error
2015-04-27 21:36:59 +08:00
Ty Overby
31572a2da5
remove use of the unicode library
2015-04-12 21:12:24 -07:00
Ty Overby
cb3c84acd6
Merge branch 'master' of github.com:TyOverby/bincode
2015-04-12 21:04:29 -07:00
Ty Overby
92d6b95c2c
remove reimplementation of read_exactly
2015-04-12 21:04:15 -07:00
TyOverby
be66f5fed4
change wording of some docs
2015-04-07 13:35:11 -07:00
Ty Overby
e5d0c33acd
update for rustc
2015-04-02 12:24:05 -07:00
Mike Dilger
a92429505a
Update full slice syntax
2015-04-01 08:54:58 +13:00
Ty Overby
1bbd5377e3
rustup
2015-03-25 15:50:41 -07:00
Ty Overby
575002877b
removed warnings
2015-03-23 10:36:29 -07:00