18 releases

0.3.3 Mar 21, 2024
0.3.2 Jan 23, 2021
0.3.1 Feb 10, 2020
0.3.0 Sep 25, 2019
0.2.0 Mar 20, 2017

#205 in Encoding

Download history 96102/week @ 2024-07-21 88407/week @ 2024-07-28 87823/week @ 2024-08-04 88556/week @ 2024-08-11 83830/week @ 2024-08-18 85010/week @ 2024-08-25 92052/week @ 2024-09-01 90733/week @ 2024-09-08 80709/week @ 2024-09-15 91580/week @ 2024-09-22 99952/week @ 2024-09-29 95447/week @ 2024-10-06 105280/week @ 2024-10-13 111634/week @ 2024-10-20 100888/week @ 2024-10-27 104969/week @ 2024-11-03

428,164 downloads per month
Used in 314 crates (34 directly)

MIT license

83KB
1.5K SLoC

cookie-factory

Crates.io Version docs.rs Actions Status CodeCov LICENSE

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.

Dependencies

~135KB