Commit Graph

5 Commits

Author SHA1 Message Date
Pedro Paulo Amorim 610b44d57f Add Membership test (#500)
* Add membership type

* Update README.md

* Update README.md

* Resolve missing info

* Restore README

* Fix trailing line

* Fix range

* Fixed formatting

Co-authored-by: Trangar <gpg@trangar.com>
2022-02-07 17:02:16 +01:00
Trangar 58dc788dfa Fix/issue 500 (#503)
* Fixed an issue where serde would decode a sequence with an u32 instead of a usize

* Added serde to the `the_same` test for roundtrips, fixed several issues.

* Fixed backwards compatibility for result, ipv4addr and ipv6addr

* Processed feedback
2022-02-07 16:52:15 +01:00
Trangar a8bdffa844 Made the compatibility check also include bincode 2 serde, and added comments (#501)
* Made the compatibility check also include bincode 2 serde, and added comments

* Added a CI step to run the compatibility tests
2022-02-06 09:50:16 +01:00
Trangar bef1f47f0f Added documentation on how to add compatibility tests (#497)
* Added documentation on how to add compatibility tests

* Fixed grammar issues
2022-02-02 09:40:38 +01:00
Trangar 00eea110d7 Bincode 1 compatibility framework (#489)
* Added a basic compatibility test to compare bincode 1 and bincode 2 output

* Moved compatibility to the /compatibility/ crate, made bincode-derive support `#[bincode(crate = "bincode_2")]`

* Added decode/deserialize test to test_same

* Added random test cases to compatibility/src/sway.rs

* Added test for bincode_1::options().with_fixint_encoding() and bincode_2::config::legacy(). Added rand license

* Added comments on why the configs are chosen
2022-02-01 14:15:15 +01:00