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>
This commit is contained in:
sinu.eth
2024-03-04 12:44:56 -08:00
committed by GitHub
parent 51f313d153
commit 8f2fc9e540
12 changed files with 1458 additions and 1 deletions

View File

@@ -1,18 +1,23 @@
[workspace]
members = ["utils", "utils-aio", "spansy"]
members = ["utils", "utils-aio", "spansy", "serio"]
[workspace.dependencies]
tlsn-utils = { path = "utils" }
tlsn-utils-aio = { path = "utils-aio" }
spansy = { path = "spansy" }
serio = { path = "serio" }
rand = "0.8"
thiserror = "1"
async-trait = "0.1"
prost = "0.9"
futures = "0.3"
futures-sink = "0.3"
futures-core = "0.3"
futures-channel = "0.3"
futures-util = "0.3"
tokio-util = "0.7"
tokio-serde = "0.8"
tokio = "1.23"
async-tungstenite = "0.16"
prost-build = "0.9"
@@ -20,3 +25,6 @@ bytes = "1"
async-std = "1"
rayon = "1"
serde = "1"
cfg-if = "1"
bincode = "1.3"
pin-project-lite = "0.2"