Commit Graph

169 Commits

Author SHA1 Message Date
Kent Fredric d5579582e0 Restore shipping tests re bug #290
Includes changes to travis to re-run the test suite inside a copy
of the prepared package.

Closes: https://github.com/servo/bincode/issues/290
2020-02-21 14:08:44 -05:00
David Tolnay 6c4b23ce62 Release 1.2.1 2019-12-09 22:25:24 -08:00
Justin Starry 0215da2d29 Fix emscripten build failures due to lack of i128 support 2019-10-19 19:51:34 -04:00
Josh Matthews 293e9cea32 Release 1.2.0. 2019-09-24 14:16:47 -04:00
Josh Matthews d4d13aa37c Release 1.1.5. 2019-09-23 18:56:44 -04:00
atouchet 43b6c2c516 Update URLs 2019-05-24 22:36:59 -04:00
David Tolnay 18da2c95d5 Release 1.1.4 2019-05-14 21:16:49 -07:00
quininer 32d080586f Fix autocfg version 2019-05-15 12:05:44 +08:00
David Tolnay 0a67cf66e7 Release 1.1.3 2019-04-07 17:28:48 -07:00
David Tolnay e4eca8871f Merge pull request #264 from kornelski/patch-1
Add encoding crates.io category
2019-04-07 17:27:47 -07:00
David Tolnay 74422cfaae Update serde_bytes dependency to 0.11 2019-04-07 16:31:53 -07:00
Kornel 84a7fa4912 Add encoding crates.io category
The crate is useful more generally than just for network programming
2019-03-29 21:13:58 +00:00
David Tolnay 31f68efe85 Remove outdated changelist 2019-02-16 11:42:51 -08:00
David Tolnay 4c90de0e3f Release 1.1.2 2019-02-16 11:34:13 -08:00
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