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

#91 in Encoding

Download history 91727/week @ 2024-03-30 97845/week @ 2024-04-06 94969/week @ 2024-04-13 99619/week @ 2024-04-20 84662/week @ 2024-04-27 98980/week @ 2024-05-04 96767/week @ 2024-05-11 94592/week @ 2024-05-18 83138/week @ 2024-05-25 82380/week @ 2024-06-01 80502/week @ 2024-06-08 81106/week @ 2024-06-15 88223/week @ 2024-06-22 79511/week @ 2024-06-29 95858/week @ 2024-07-06 80710/week @ 2024-07-13

357,969 downloads per month
Used in 261 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