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

#100 in Encoding

Download history 17210/week @ 2023-12-25 40026/week @ 2024-01-01 63027/week @ 2024-01-08 68682/week @ 2024-01-15 67593/week @ 2024-01-22 79186/week @ 2024-01-29 75202/week @ 2024-02-05 78401/week @ 2024-02-12 78760/week @ 2024-02-19 85843/week @ 2024-02-26 88873/week @ 2024-03-04 92974/week @ 2024-03-11 90698/week @ 2024-03-18 90495/week @ 2024-03-25 94276/week @ 2024-04-01 70602/week @ 2024-04-08

349,536 downloads per month
Used in 253 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