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

#179 in Encoding

Download history 89757/week @ 2024-08-08 83255/week @ 2024-08-15 84704/week @ 2024-08-22 84198/week @ 2024-08-29 98165/week @ 2024-09-05 84295/week @ 2024-09-12 85499/week @ 2024-09-19 99423/week @ 2024-09-26 93708/week @ 2024-10-03 100425/week @ 2024-10-10 111729/week @ 2024-10-17 107322/week @ 2024-10-24 101109/week @ 2024-10-31 102441/week @ 2024-11-07 78738/week @ 2024-11-14 72469/week @ 2024-11-21

375,676 downloads per month
Used in 322 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