Commit Graph

155 Commits

Author SHA1 Message Date
David Tolnay 65f87aefd4 Bump byteorder requirement to 1.3.0
1.3.0 is the first version that performs auto detection of i128 support,
which we rely on.
2019-02-16 11:33:31 -08:00
David Tolnay e8533f1bdf Simplify semver dependency syntax 2019-02-16 11:33:13 -08:00
David Tolnay f5af5b992b Define html_root_url 2019-02-16 11:28:17 -08:00
David Tolnay 254cf0ce61 Release 1.1.1 2019-02-16 11:22:49 -08:00
Diggory Hardy a04c750960 Make i128 support automatic for supporting Rustc versions
Uses autocfg
2019-01-28 09:59:18 -05:00
David Tolnay 006e17e75b Display a Travis badge on crates.io 2018-08-07 11:50:00 -07:00
Ty Overby 364e8638a0 publish 1.0.1 2018-06-18 09:50:54 -07:00
Ashley Mannix 2ef9a06894 add support for 128bit numbers 2018-05-30 09:44:38 -07:00
Ty Overby 53b2b29829 1.0.0 2018-02-15 10:47:00 -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
Alexis Beingessner 1ecdeefe3d bump byteorder version to get transmuting binary float parses (#222) 2017-11-29 13:58:03 -08:00
Markus Westerlind 7464ba7272 Allow serialized types to use a more compact representation ... (#217)
... by utilizing that bincode is not human readable.

Uses the changes in https://github.com/serde-rs/serde/pull/1044 which
allows data formats to report that they are not human readable. This
lets certain types serialize themselves into a more compact form as they
know that the serialized form does not need to be readable.

Closes #215

BREAKING CHANGE

This changes how types serialize themselves if they detect the
`is_human_readable` state.
2017-11-20 09:55:34 -08:00
Igor Gnatenko 98ba22c5fe do not exclude LICENSE.md (#220)
MIT license requires that it is shipped with sources. So crates.io archive should have it as well.
2017-11-13 14:23:33 -08:00
Ty Overby 251bbe22d4 remove _types from read module 2017-10-13 17:42:09 -07:00
Ty Overby 6881aca80a add more things to exclude list 2017-10-13 10:18:22 -07:00
Ty Overby 470aa1c703 add readme category to cargo.toml 2017-10-13 08:54:32 -07:00
Ty Overby 938f03b900 exclude logo.png from packaging 2017-10-13 08:24:45 -07:00
Ty Overby d340fdc1a4 v0.9.0 2017-10-12 09:06:22 -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 a9d5dc455d Revert "remove publish = false"
This reverts commit d985212a36.
2017-10-10 16:29:50 -07:00
Ty Overby a094c215c4 Merge branch 'master' of github.com:TyOverby/bincode 2017-10-10 16:29:00 -07:00
Ty Overby ab70e7d507 remove completely unused dependency 2017-10-10 10:32:18 -07:00
Ty Overby 0214c6f4c2 bump version number 2017-10-10 10:25:19 -07:00
Ty Overby d985212a36 remove publish = false 2017-05-02 08:00:08 -07:00
Ty Overby 851421be5d bump version 2017-05-02 07:59:05 -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
Ty Overby 4654645c82 Update Cargo.toml 2017-04-19 16:06:12 -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 0cf1185e9d 0.7.0 2017-04-08 11:07:04 -07:00
Ty Overby 34679457d2 alpha7 2017-04-08 10:52:52 -07:00
Ty Overby 461a694bac bump to alpha-6 2017-03-17 18:02:34 -07:00
Ty Overby 392d960400 bump version number 2017-03-01 17:16:57 -08:00
Ty Overby 1567d65ae9 fix oom 2017-02-24 19:04:46 -08:00
Ty Overby 42a8164756 bump version 2017-02-24 18:55:44 -08:00
Ty Overby fac69cfcaa Remove rustc-serialize from cargo.toml 2017-01-31 20:20:26 -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
Ty Overby ecb51cb8bd update authors and docs link 2017-01-31 10:43:47 -08:00
Ty Overby f4c5c7b86d Merge branch 'master' of github.com:TyOverby/bincode 2017-01-31 10:20:18 -08:00
Lena Hellström c6393ac561 Update to serde 0.9.X (#93)
* Update to serde 0.9.X

* Remove redundant visitor and bad namespacing.

* Change DeserializeError to use Strings.

Reintroduce error tests.

* Better DeserializeError messages.

* Fix warnings.
2017-01-31 09:59:29 -08:00
Ty Overby 147a89f8d7 bump version 2017-01-05 17:26:50 -08:00
Matt Brubeck 814aa7d239 Update to byteorder 1.0 (#91) 2017-01-05 17:25:40 -08:00
David Tolnay 3d4346808f More efficient serialize_bytes (#90)
* Update to serde_derive

* Fix missing Encoder and Decoder imports

* Add test for serializing bytes

* More efficient serialize_bytes

Reported in #serde: blank_name2 tried serializing
`HashMap<String, HashSet<Bytes>>` vs `HashMap<String, HashSet<&Path>>`,
the `&Path` version was done in ~.6 seconds while the
`&[u8]` one took a full 3 seconds more.
2016-12-12 18:26:26 +00:00
Ty Overby 44ea3bbbdb 0.6.0 2016-07-28 12:35:40 -07:00
Ty Overby aa531e465a Merge branch 'master' of github.com:TyOverby/bincode 2016-07-28 12:24:06 -07:00
David Tolnay 95b414a184 Update to serde 0.8.0 (#84) 2016-07-28 12:23:18 -07:00
Ty Overby 23cb6ea79c 0.5.9 2016-07-08 06:55:29 -07:00
Anthony Ramine 8f98e8789d 0.5.8 2016-06-30 14:13:17 +02:00
Ty Overby 2ae255e634 0.5.7 2016-06-19 13:30:27 -07:00
Ty Overby 45cfc7da9a bump version number 2016-04-28 17:31:36 -07:00
Ms2ger c7bdb4a90c Use num-traits. (#72) 2016-04-21 09:28:33 -07:00
Alexander Bulaev 834e4c3656 Don't pull `rustc-serialize` from `num` (#71) 2016-04-15 14:22:39 -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
Ty Overby 21329a0e53 v0.5.3 2016-04-12 09:28:21 -07:00
Jayson Reis 183c28e363 Upgrade byteorder to 0.5.x (#68) 2016-04-12 09:26:18 -07:00
Ty Overby 35aa19b6fb bump cargo version 2016-04-04 13:34:18 -07:00
Ty Overby 8b14cbda92 bump version to v0.5.1 2016-03-16 09:21:30 -07:00
Ty Overby bde9aa6565 add initial support for serde 0.7 2016-03-04 10:44:28 -08:00
Ty Overby 6d3de67320 v0.4.1 2016-02-29 09:37:46 -08:00
Ty Overby 5245ea19f0 fix version numbering 2016-02-29 09:35:35 -08:00
Ty Overby 6d6717ebdf use faster travis builds 2016-02-07 16:55:19 -08:00
Simon Sapin d9183a8a26 Update byteorder crate 2015-11-26 17:21:30 +01:00
Ty Overby 338690129b bump version number 2015-08-07 23:17:02 -07:00
Ty Overby 3de218537f Fix test fallout during merge 2015-08-07 16:16:42 -07:00
Erick Tryzelaar 0d6b8a48b6 Get serde working 2015-07-29 13:15:04 -07:00
Erick Tryzelaar b85ac75b28 Initial serde support 2015-06-30 07:52:18 -07:00
Ty Overby 9ad558de5f bump version number 2015-05-18 23:39:32 -07:00
Ty Overby 8b02f96bf0 derive debug for refbox and friends 2015-05-02 12:56:52 -07:00
Ty Overby 5b341ea793 bump version number 2015-05-02 12:47:25 -07:00
Ty Overby 5fa0c2bd8a Decoders return the number of bytes that they read
Closes #35
2015-05-01 09:17:18 -07:00
TyOverby a6a43bd55a bump version number 2015-04-29 18:09:39 -07:00
Ty Overby 4df8b07e3e bump version number. Beta compatibility! 2015-04-12 21:16:56 -07:00
Ty Overby fb0751ac2e bump version 2015-04-03 17:10:39 -07:00
Ty Overby 86f7a2795f bump version to 0.1.0 2015-04-03 11:49:40 -07:00
Ty Overby 6bc25f21db bump version number 2015-04-02 08:49:47 -07:00
Ty Overby 1d5761f134 bump version number 2015-03-26 10:35:31 -07:00
Ty Overby 1bbd5377e3 rustup 2015-03-25 15:50:41 -07:00
Ty Overby 05f0ce01c1 bump version 2015-03-23 10:37:06 -07:00
Jeremy Huffman 6ec2c0e415 bump byteorder dependency to 0.3.1
byteorder 0.2.9 no longer builds on rustc nightly; bumping this dependency to 0.3.1 fixes this issue
2015-03-22 12:43:43 -04:00
Ty Overby 1355a93a23 Fix rustc updates. 2015-03-19 10:09:27 -07:00
Ty Overby 5f85e9b19a Use new io, update for rustc changes 2015-02-21 21:42:59 -08:00
Ty Overby a38f8bc2c7 fix deps 2015-02-21 21:08:25 -08:00
Ty Overby 28b5007731 mark new version 2015-02-21 21:05:30 -08:00
Ty Overby c0fce3da90 bump version number 2015-02-20 08:49:00 -08:00
Ty Overby 873815ab0a prepare for newio 2015-02-16 11:33:21 -08:00
Ty Overby 15e7672703 prepare for the new io library 2015-02-09 14:56:40 -08:00
TyOverby 5952c3adb0 update for stdlib 2015-01-28 13:01:11 -08:00
Ty Overby 85d4147c50 version = 0.0.7 2015-01-24 19:36:55 -08:00
Ty Overby 1669ea6585 mark for new version 2015-01-09 15:15:38 -08:00
TyOverby 6fe6e8d251 update for 1.0.0-alpha 2015-01-09 12:51:58 -08:00
TyOverby d8b5c35a2e mark for 0.0.5 2015-01-08 16:38:22 -08:00
Francesco Mazzoli bc3b49e0fd Use latest rustc-serialize
Needed to compile with latest nightly.
2015-01-07 19:30:14 +01:00
Ty 2c1c2b2ee5 Merge pull request #12 from bitonic/master
Update to the latest rustc-serialize
2015-01-06 21:07:10 -08:00
Francesco Mazzoli 0be3c68164 Document some encoding details
Also, update Cargo.toml with my name.
2015-01-07 03:49:19 +01:00
Francesco Mazzoli 14f6b84c88 Update to the latest rustc-serialize 2015-01-07 02:23:05 +01:00
Ty Overby 6e0069163c upgrade to new version of rustc-serialize 2015-01-03 14:54:31 -08:00
crhino 74d9d9b1af Update version to 0.0.3 2014-12-24 12:31:47 -05:00
crhino 8f982f334e serialize crate has moved out of tree to rustc-serialize.
See commit b04bc5cc49
2014-12-24 12:25:57 -05:00
Ty Overby f3f849bbcc mark for 0.0.2 2014-11-24 10:00:48 -08:00