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

#234 in Encoding

Download history 138099/week @ 2025-09-25 158652/week @ 2025-10-02 154548/week @ 2025-10-09 166258/week @ 2025-10-16 159995/week @ 2025-10-23 181736/week @ 2025-10-30 172902/week @ 2025-11-06 168458/week @ 2025-11-13 163633/week @ 2025-11-20 152390/week @ 2025-11-27 166377/week @ 2025-12-04 158457/week @ 2025-12-11 123924/week @ 2025-12-18 73812/week @ 2025-12-25 127828/week @ 2026-01-01 182141/week @ 2026-01-08

536,887 downloads per month
Used in 547 crates (38 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

~130KB