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

#85 in Encoding

Download history 80725/week @ 2024-02-22 89307/week @ 2024-02-29 93927/week @ 2024-03-07 92115/week @ 2024-03-14 87159/week @ 2024-03-21 96749/week @ 2024-03-28 93339/week @ 2024-04-04 92745/week @ 2024-04-11 98423/week @ 2024-04-18 91126/week @ 2024-04-25 94480/week @ 2024-05-02 97196/week @ 2024-05-09 95001/week @ 2024-05-16 85366/week @ 2024-05-23 83595/week @ 2024-05-30 65857/week @ 2024-06-06

347,046 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