13 releases

✓ Uses Rust 2018 edition

0.3.0-beta4 Jul 11, 2019
0.3.0-beta2 May 21, 2019
0.3.0-alpha2 Jan 29, 2019
0.3.0-alpha1 Oct 26, 2018
0.2.0 Mar 20, 2017

#39 in Encoding

Download history 1285/week @ 2019-03-28 1160/week @ 2019-04-04 1417/week @ 2019-04-11 1403/week @ 2019-04-18 1180/week @ 2019-04-25 1053/week @ 2019-05-02 961/week @ 2019-05-09 1608/week @ 2019-05-16 1361/week @ 2019-05-23 1206/week @ 2019-05-30 1127/week @ 2019-06-06 1048/week @ 2019-06-13 1733/week @ 2019-06-20 1545/week @ 2019-06-27 1229/week @ 2019-07-04

5,536 downloads per month
Used in 29 crates (9 directly)

MIT license

59KB
1K SLoC

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.


lib.rs:

serialization library built with a combinator design similar to nom.

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.

No runtime deps