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.
A catch is that SerdeSerializer is not directly defined in this crate. Instead,
you must use the define_serde_serializer!() macro in the fuzz-target script to
define it. Like this:
extern crate fuzzcheck_serializer;
extern crate serde;
extern crate serde_json; // serde_json MUST be visible
extern crate fuzzcheck; // fuzzcheck MUST be visible
use ; // Serializable and Deserializable MUST be visible
// Makes the SerdeSerializer available to fuzzcheck
define_serde_serializer!;