Commit Graph

111 Commits

Author SHA1 Message Date
Jayson Reis 183c28e363 Upgrade byteorder to 0.5.x (#68) 2016-04-12 09:26:18 -07:00
Brian Bowman 127380a506 fix typo 2016-04-07 03:05:41 -05:00
Ty Overby 772b1da6df Revert "Respect size limits in read_seq and read_map."
This reverts commit 1e21e5d13b.
2016-04-03 15:44:21 -07:00
Andrew Cann ce61edb51f Replace use of saturating_add 2016-03-10 17:27:51 +08:00
Andrew Cann 1e21e5d13b Respect size limits in read_seq and read_map. 2016-03-10 17:08:11 +08:00
Ty Overby bde9aa6565 add initial support for serde 0.7 2016-03-04 10:44:28 -08:00
Ty Overby 3e8833b70e Fix typo 2016-02-07 17:42:45 -08:00
Ty Overby 9824d8061c ignore instead of no_run 2016-02-07 17:03:47 -08:00
Ty Overby 7fba81da1e should parse now 2016-02-07 17:00:24 -08:00
Ty Overby 13d9e30813 no run on tests 2016-02-07 16:56:51 -08:00
Ty Overby 05850df34a Merge branch 'master' of github.com:TyOverby/bincode 2016-02-07 16:46:33 -08:00
Ty Overby 25cfb15823 add more docs 2016-02-07 16:46:23 -08:00
Ty Overby 7662a57727 add more useful syntax error messages 2016-01-19 08:46:33 -08: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
Ty Overby 3de218537f Fix test fallout during merge 2015-08-07 16:16:42 -07:00
Erick Tryzelaar b59af483ef Updated to serde 0.5.0 2015-08-07 12:10:02 -07:00
Erick Tryzelaar f04635c1ba Add newtype handlers to speed up parsing newtype structs and variants 2015-07-30 20:45:36 -07:00
Erick Tryzelaar 8ec54e562a Update to serde 0.5.0 2015-07-29 13:15:14 -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 fd52ae0d64 Revert "Merge pull request #42 from jmesmon/fix-oom"
This reverts commit 1c3f457cf9, reversing
changes made to 84b5c416ca.
2015-05-29 13:50:16 -07:00
Ty Overby e8d783fdfc Revert "fail with size limit on large maps too"
This reverts commit ce286b2519.
2015-05-29 13:39:17 -07:00
Ty Overby ce286b2519 fail with size limit on large maps too 2015-05-28 16:12:46 -07:00
Ty Overby 1c3f457cf9 Merge pull request #42 from jmesmon/fix-oom
check the size of seqs before trying to decode them
2015-05-28 16:09:20 -07:00
Cody P Schafer ee0dccbd02 check the size of seqs before trying to decode them
Fixes #41
2015-05-28 16:03:02 -04:00
Cody P Schafer 9ab3320db7 SliceBox: allow Deref into &[T]
Allows more convenient use of SliceBox where one doesn't care whether
it represents a Vec<T> or &[T] and can handle using a &[T].
2015-05-28 12:05:30 -04: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
Jonathan Reem a19d62cbe9 Add some more trait impls and methods to StrBox and SliceBox 2015-05-04 03:48:25 -07:00
Ty Overby b6615fa262 derive debug for refbox and friends 2015-05-02 12:56:36 -07:00
Ty Overby 1d45873f1e cleaned up refbox implementation and added tests 2015-05-02 12:23:27 -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
Cody P Schafer 6240bcfc31 refbox: add Debug impl 2015-04-03 15:42:18 -04: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
Mike Dilger 883b1097ab Fix for upstream rustc changes 2015-04-01 08:41:50 +13:00
Mike Dilger fcc64883b6 Derive Clone,PartialEq for EncodingError 2015-03-26 15:55:03 +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
Ty Overby 1355a93a23 Fix rustc updates. 2015-03-19 10:09:27 -07:00