6 releases (breaking)
| 0.6.0 | Feb 20, 2021 |
|---|---|
| 0.5.0 | Jan 31, 2021 |
| 0.4.0 | Aug 12, 2020 |
| 0.3.0 | Jul 17, 2020 |
| 0.1.1 | Jun 6, 2020 |
#1631 in Development tools
22 downloads per month
19KB
266 lines
fuzzcheck_serializer
This crate provides implementations of the Serializer trait defined by
fuzzcheck.
There are currently two choices:
ByteSerializerserializes aVec<u8>by directly writing the bits to a file. You can choose the file extension.SerdeSerializerusesserdeandserde_jsonto serialize any serde-Serializabletype to a json file. Accessible through theserde-jsonfeature.JsonSerializeris a lightweight alternative toSerdeSerializerthat uses thejsonanddecent-serde-json-alternativecrates. Accessible through theserde-json-alternativefeature.
lib.rs:
This crate contains types implementing the Serializer trait of fuzzcheck. There are currently two implementations:
-
SerdeSerializer uses the
serdeandserde_jsoncrate to serialize the test inputs (of arbitrary Serializable type) to a.jsonfile. It is available under the “serde” feature -
[ByteSerializer] encodes and decodes values of type
Vec<u8>by simply copy/pasting the bytes from/to the files. The extension is customizable.
Dependencies
~0–340KB