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

serio

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

2 unstable releases

new 0.2.0 Mar 3, 2025
0.1.0 Jun 24, 2024

#874 in Asynchronous

Download history 100/week @ 2024-11-15 200/week @ 2024-11-22 422/week @ 2024-11-29 177/week @ 2024-12-06 83/week @ 2024-12-13 153/week @ 2024-12-20 117/week @ 2024-12-27 130/week @ 2025-01-03 190/week @ 2025-01-10 297/week @ 2025-01-17 353/week @ 2025-01-24 214/week @ 2025-01-31 186/week @ 2025-02-07 271/week @ 2025-02-14 294/week @ 2025-02-21 468/week @ 2025-02-28

1,255 downloads per month
Used in uid-mux

MIT/Apache

43KB
825 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