Commit Graph

3 Commits

Author SHA1 Message Date
Trangar 86e03aeda7 Rewrite: seperated Decode and BorrowDecode (#526)
* Rewrite: seperated Decode and BorrowDecode

* Fixed cargo.toml issues

* Fixed clippy warning

* Removed the `impl_tuples` macro call with manually exported code

* Replaced the generated code in `impl_tuples` with the macro instead

* Implemented BorrowDecode for Box<[T]>

* Added a test to see if zoxide can be ported to bincode 2

* Added a test for Arc<str>

* Made several `Encode` implementations require `T: ?Sized`

* Implemented Decode for Arc<str>

* Added BlockedTODO links to commented out code

* Fixed clippy and lint issues

* Updated virtue dependency in fuzz lockfile
2022-06-04 15:23:55 +02:00
Trangar 4d2e75e247 Made the compat fuzzer ignore any LimitExceeded error (#515)
* Made the compat fuzzer ignore any LimitExceeded error

* Switched from deserialize to deserialize_from

Co-authored-by: Victor Koenders <git@trangar.com>
2022-03-03 15:44:28 +01:00
5225225 da94b7aaf9 Fuzz for compatibility with bincode v1 (#498)
* Fuzz for compatibility with bincode v1

* Make AllTypes recursive

* Revert round trip test (add recursion to it too)

* Update fuzzer lockfile

* Adjust compat fuzzer to be stricter

* data doesn't need to be a &&[u8]
2022-02-07 16:36:41 +01:00