Crates.io | async-codec-lite |
lib.rs | async-codec-lite |
version | 0.0.2 |
source | src |
created_at | 2021-01-20 00:18:19.734209 |
updated_at | 2022-05-24 19:41:34.020175 |
description | Adaptors from AsyncRead/AsyncWrite to Stream/Sink using futures. |
homepage | |
repository | |
max_upload_size | |
id | 344202 |
size | 77,241 |
Adaptors from AsyncRead/AsyncWrite to Stream/Sink using futures.
This crate is similar to existing crates that also provide FramedWrite
adapters. The difference between this crate and other non-tokio alternatives is
that it does not require T: Unpin
in the Sink
implementation for
FramedWrite<T, E>
. This unnecessarily strict requirement made using
FramedWrite
with tower-lsp
problematic, as discussed in the issue
here.
This crate is based on code and ideas from the following crates: