Commit Graph

101 Commits

Author SHA1 Message Date
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