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 100873/week @ 2024-10-27 104877/week @ 2024-11-03 95344/week @ 2024-11-10 72725/week @ 2024-11-17 68669/week @ 2024-11-24 71443/week @ 2024-12-01 78386/week @ 2024-12-08 74087/week @ 2024-12-15 32453/week @ 2024-12-22 35562/week @ 2024-12-29 67151/week @ 2025-01-05 74137/week @ 2025-01-12 66620/week @ 2025-01-19 77552/week @ 2025-01-26 86411/week @ 2025-02-02 77226/week @ 2025-02-09

310,919 downloads per month
Used in 375 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