11 releases

new 0.3.0-beta2 May 21, 2019
0.3.0-alpha2 Jan 29, 2019
0.3.0-alpha1 Oct 26, 2018
0.2.4 May 22, 2018
0.2.0 Mar 20, 2017

#48 in Encoding

Download history 724/week @ 2019-02-05 1051/week @ 2019-02-12 776/week @ 2019-02-19 1159/week @ 2019-02-26 994/week @ 2019-03-05 824/week @ 2019-03-12 1075/week @ 2019-03-19 1471/week @ 2019-03-26 946/week @ 2019-04-02 1482/week @ 2019-04-09 1386/week @ 2019-04-16 1311/week @ 2019-04-23 1166/week @ 2019-04-30 910/week @ 2019-05-07 1362/week @ 2019-05-14

4,881 downloads per month
Used in 27 crates (11 directly)

MIT license

54KB
1.5K SLoC

cookie-factory

LICENSE Build Status Crates.io Version

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.

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