nickray / cookie-factory

Rust serializer library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cookie-factory

LICENSE Build Status Crates.io Version

serialization library built with a combinator design similar to the nom parser combinators library.

Serializers are built up from single purpose serializers, like slice to write a raw byte slice, or be_u16 to write a u16 integer in big endian form.

Those small serializers can then be assembled by using combinators. As an example, all(["abcd", "efgh", "ijkl"].iter().map(string))(output) will write "abcdefghijkl" to output.

Reference documentation is available here.

About

Rust serializer library

License:MIT License


Languages

Language:Rust 100.0%