Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

silvanshade/async-codec-lite

Repository files navigation

async-codec-lite

Adaptors from AsyncRead/AsyncWrite to Stream/Sink using futures.

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:

About

Adaptors from AsyncRead/AsyncWrite to Stream/Sink using futures.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-Apache
MIT
LICENSE-MIT

Stars

Watchers

Forks

Languages