#async-io #io #serde #future #async-trait #async

serio

A library providing traits and utilities for typed IO using format agnostic serialization built on serde

1 unstable release

0.1.0 Jun 24, 2024

#1678 in Asynchronous

Download history 384/week @ 2024-07-20 145/week @ 2024-07-27 82/week @ 2024-08-03 155/week @ 2024-08-10 134/week @ 2024-08-17 141/week @ 2024-08-24 65/week @ 2024-08-31 111/week @ 2024-09-07 116/week @ 2024-09-14 264/week @ 2024-09-21 409/week @ 2024-09-28 298/week @ 2024-10-05 247/week @ 2024-10-12 232/week @ 2024-10-19 186/week @ 2024-10-26 193/week @ 2024-11-02

931 downloads per month
Used in uid-mux

MIT/Apache

39KB
725 lines

serio

This crate provides the Sink and Stream traits which are similar to futures::Sink and futures::Stream except they work with any serializable types.

Much of the functionality from this crate was either adapted or directly copied from the futures project. Inspiration was also taken from the tokio-serde crate.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

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

~1–7MB
~50K SLoC