forma_test
Token-based testing framework for validating Serialize and Deserialize
implementations in the forma serialization
framework.
Overview
forma_test provides a token-recording serializer and a token-replaying
deserializer. You describe the expected serialized form as a sequence of
Token values (30 variants matching the forma data model), then assert that
serialization produces exactly those tokens and that deserialization from those
tokens reconstructs the original value.
This crate is primarily intended for format authors and contributors
testing their Serialize/Deserialize impls -- not for end users.
Usage
use ;
use ;
assert_tokens;
License
Licensed under either of Apache License, Version 2.0 or MIT License at your option.