All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix recursive types.
- Custom attribute to derive
Formula
,Serialize
andDeserialize
when additional data is needed for deriving.
- Derive macros do not accept attributes anymore. Use custom attribute instead.
- Support manual generic bounds for formula deriving macro.
- Move packet writing into separate trait.
- Reimplement with no unsafe code.
- Fuse deserialization with cheap direct access and lazy deserialization
using
Lazy
andDeIter
. - Add support for unsized formulas.
- Derive macro doesn't generate new types anymore.
- Derive
Serialize
for a type to serialize it into specified formula, generated code will check that type is compatible with formula, works only for formulas implemented using derive macro. - Derive
Deserialize
for a type to deserialize it from specified formula. generated code will check that type is compatible with formula, works only for formulas implemented using derive macro. - Interoperability with
serde
usingbincode
- Different flavors of
serialize
methods. Fallible, panicking, with growing buffer, with exact size calculation on fail.
Implemented writing and reading packets with typed formula. Implement formulas for primitives and sequences. Implement proc-macro to derive formulas for structures and enums.