3 releases
0.0.2 | May 24, 2022 |
---|---|
0.0.1 | Feb 8, 2022 |
0.0.0 | Jan 20, 2021 |
#1481 in Asynchronous
7,673 downloads per month
Used in 6 crates
(3 directly)
38KB
1K
SLoC
async-codec-lite
Adaptors from AsyncRead/AsyncWrite to Stream/Sink using futures.
Description
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.
Acknowledgements
This crate is based on code and ideas from the following crates:
Dependencies
~0.6–1.5MB
~31K SLoC