Commit Graph

360 Commits

Author SHA1 Message Date
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
alecmocatta 9d6e4f5ae6 Add tests 2019-09-06 17:38:28 -04:00
alecmocatta ecbef8d1bb add remaining _seed variants of deserialize functions 2019-09-06 17:38:28 -04:00
Alex Touchet 30ada4acda Readme cleanup 2019-07-25 17:11:51 -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
David Tolnay 7fbeae0f5a Merge pull request #268 from quininer/patch-1
Fix autocfg version
2019-05-14 21:16:16 -07:00
quininer 32d080586f Fix autocfg version 2019-05-15 12:05:44 +08:00
David Tolnay 107a1930b5 Update documentation to 2018 edition 2019-04-30 01:18:32 -07:00
David Tolnay c954d3352c Remove unneeded ```rust from rustdoc 2019-04-30 01:15:01 -07: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 2b48df8925 Test only compilation on rust 1.18
This is bincode's current minimum supported Rust version but we have
dev-dependencies that require a newer version.
2019-04-07 16:37:03 -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 ee76b6dabd Remove CI for unused i128 feature 2019-02-16 11:29:18 -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
Jeff Muizelaar 20da2c841a Make config() inline(always)
Without this we end up generating code for all configs unless LTO is on.
2018-11-20 11:13:44 -05:00
Ty Overby d8704644d7 format 2018-09-04 16:25:10 -07:00
boxdot 0e7b438bb4 Add tests for `Config::deserialize_seed`. 2018-09-04 16:22:50 -07:00
boxdot 5633935964 Introduce `Config::deserialize_seed` for exposing serde's statefull deser. 2018-09-04 16:22:50 -07: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 7313ecbbf1 pin rustc 1.18.0 in CI 2018-05-30 09:44:38 -07:00
Ashley Mannix 2ef9a06894 add support for 128bit numbers 2018-05-30 09:44:38 -07:00
Kevin Yap 10bdbbff33 Update README example to match #214 changes (#228) 2018-02-26 09:51:28 -08:00
Ty Overby 53b2b29829 1.0.0 2018-02-15 10:47:00 -08: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
Kyle Huey 093bc24a13 Elide unnecessary copy when consuming a byte buffer. (#223) 2017-12-01 10:26:08 -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 1cc66df1d5 add documentation to utf8_char_width 2017-10-13 17:58:53 -07:00
Ty Overby 1cf9a0eb56 fix doc comment for deserializing function 2017-10-13 17:48:55 -07: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