#cbor #tokio #framing #codec #tokio-codec #frame #networking

tokio-serde-cbor

Integration of serde_cbor into tokio-io, to allow sending CBOR encoded frames across network (and possibly through other transports)

10 releases (6 breaking)

0.7.0 Sep 17, 2022
0.6.0 Jan 1, 2021
0.5.0 Nov 2, 2020
0.4.0 Jan 13, 2020
0.2.1 May 15, 2017

#551 in Asynchronous

Download history 273/week @ 2024-07-24 912/week @ 2024-07-31 89/week @ 2024-08-07 109/week @ 2024-08-14 322/week @ 2024-08-21 97/week @ 2024-08-28 286/week @ 2024-09-04 344/week @ 2024-09-11 375/week @ 2024-09-18 388/week @ 2024-09-25 216/week @ 2024-10-02 422/week @ 2024-10-09 179/week @ 2024-10-16 202/week @ 2024-10-23 387/week @ 2024-10-30 349/week @ 2024-11-06

1,175 downloads per month
Used in 2 crates

Apache-2.0/MIT

18KB
282 lines

Tokio-serde-cbor

Travis Build Status AppVeyor Build status

This rust crate integrates the serde-cbor into a codec (Decoder and Encoder) of tokio-io. This allows turning an async read/write into a stream and sink of objects.

The API documentation can be found here.

Status

The API is not formally stabilized and may change. But the crate itself is small and there's probably not much space for such changes.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~3–8.5MB
~71K SLoC