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

#154 in Encoding

Download history 102936/week @ 2024-10-11 111580/week @ 2024-10-18 104621/week @ 2024-10-25 102047/week @ 2024-11-01 102815/week @ 2024-11-08 72950/week @ 2024-11-15 70027/week @ 2024-11-22 70304/week @ 2024-11-29 75678/week @ 2024-12-06 75245/week @ 2024-12-13 41265/week @ 2024-12-20 32537/week @ 2024-12-27 61858/week @ 2025-01-03 74151/week @ 2025-01-10 69171/week @ 2025-01-17 60919/week @ 2025-01-24

274,442 downloads per month
Used in 358 crates (35 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