Files
tlsn-utils/serio/README.md
sinu.eth 8f2fc9e540 feat: serio (#24)
* feat: serio

* add IoStreamExt

* fix doc link

* add into_stream

* pin project IntoSink

* add flush method to SinkExt

* add duplex traits

* Apply suggestions from code review

Co-authored-by: dan <themighty1@users.noreply.github.com>

* add Framed test

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>
2024-03-04 12:44:56 -08:00

742 B

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.