Commit Graph

145 Commits

Author SHA1 Message Date
Trangar 45c0fa7782 Release v2.0.0-alpha.2 (#455) 2021-12-14 15:27:40 +01:00
Trangar 63f4607992 Feature/config limit (#439)
* Added Limit<N> and NoLimit to the configuration
* Added a limit check to Decoder and DecoderImpl
* Added test cases, added a helper function specialized for containers
* Added a test to see if inlining makes the limit config faster, added inlining to the decoder
2021-12-11 15:44:43 +01:00
Trangar c4fd7efa49 Release 2.0.0-alpha.1 (#435) 2021-11-09 10:15:12 +01:00
Trangar 8c1279feab functions to enable encoding/decoding serde types (#422)
* functions to enable encoding/decoding serde types
* Removed dev feature I forgot to remove
* Centralized option variant and len() decoding/encoding
2021-11-08 12:38:29 +01:00
Lena Hellström c6ba4ffc88 Update authors to reflect current code state (#418) 2021-10-25 10:39:58 +02:00
Victor Koenders 0be7e2f4f2 Updated to edition 2021 2021-10-21 17:34:56 +02:00
Victor Koenders dd7e8e8e43 Changed bincode version to 2.0.0-alpha.0 2021-10-21 13:39:45 +02:00
Victor Koenders 4b25114c59 Processed some of the feedback 2021-10-18 10:18:47 +02:00
Lena Hellström 83970d29cf Merge branch 'trunk' into feature/deserde 2021-10-17 21:54:26 +02:00
Victor Koenders 61c1e8a7cd Added badges to the functions to indicate which features they require 2021-10-17 15:00:14 +02:00
Victor Koenders 1f261cede3 Added support for atomic integers 2021-10-16 14:49:18 +02:00
Victor Koenders c969622384 Added alloc and std tests 2021-10-12 16:13:21 +02:00
Trangar a27b63b7fa Make bincode_derive 0 dependencies (#409)
Removed `syn`, `quote` and `proc_macro2` dependency
2021-10-12 15:53:02 +02:00
Lena Hellström e1aed75f14 Update logo (#407) 2021-10-07 14:25:53 +02:00
Victor Koenders 254b87c6eb Moved all feature flags to src/features, made the CI run tests on all feature combinations 2021-09-22 16:23:27 +02:00
Victor Koenders 6361ad7d69 Made clippy also check _derive, fixed clippy warnings 2021-09-21 10:00:53 +02:00
Victor Koenders cbd5c6b940 Enable CI for the deserde branch 2021-09-13 13:39:59 +02:00
Victor Koenders bab0cf4bd1 Started working on bincode_derive 2021-09-13 13:20:47 +02:00
Ben Kimock 5c541a297a Optimize varint parsing (#337)
* Add benchmarks for varint parsing

* Enable more inlining

* Outline error construction

* Add provided functions to BincodeRead to customize reading of literals

* Add #[inline] to deserialize_byte

* Outline SliceReader::unexpected_eof so that deserialize_varint inlines

* Implement BincodeRead for std::io::BufReader

* Reimplement all of BincodeRead in terms of BufRead-like functions

* Move branch into error-creation function to get below inline threshold
2021-06-19 18:16:13 -07:00
Lena Hellström e160c73acb a fresh new start 2021-06-19 19:31:34 +02:00
Alex Touchet cd58cf2e7e Update URLs and some cleanups (#383)
* Update URLs and some cleanups

* Capitalize Rust

* Remove accidental directory

* Update URLs and some cleanups

* Update URL

* Capitalize Rust
2021-04-09 14:46:05 +02:00
Lena Hellström e39a047b4b prep branch for 2.0 work (#379)
* prep branch for 2.0 work

* switch to 2018 edition

* fix clippy issues

* fix tests

* fix warnings

* fix formatting
2021-04-08 14:54:31 +02:00
Lena Hellström e15b8e911a clarify msrv support (#375)
* clarify msrv support

* pin byteorder to valid versions
2021-02-23 11:47:56 -08:00
Lena Hellström 00c43bf3b1 fix logic error in fill_buffer (#336) 2020-06-23 23:41:55 -07:00
Lena Hellström a822c09d93 bump version to 1.3.0 (#330) 2020-06-04 21:20:43 -07:00
Lena Hellström 38322212e6 update author name to current legal name 2020-03-09 18:39:39 -04:00
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