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

serio

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

3 unstable releases

Uses new Rust 2024

0.2.1 May 10, 2025
0.2.0 Mar 3, 2025
0.1.0 Jun 24, 2024

#377 in Asynchronous

Download history 603/week @ 2025-03-21 176/week @ 2025-03-28 176/week @ 2025-04-04 284/week @ 2025-04-11 364/week @ 2025-04-18 482/week @ 2025-04-25 275/week @ 2025-05-02 438/week @ 2025-05-09 379/week @ 2025-05-16 419/week @ 2025-05-23 472/week @ 2025-05-30 509/week @ 2025-06-06 447/week @ 2025-06-13 495/week @ 2025-06-20 439/week @ 2025-06-27 339/week @ 2025-07-04

1,792 downloads per month
Used in uid-mux

MIT/Apache

44KB
840 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–9MB
~86K SLoC