futures-codec icon indicating copy to clipboard operation
futures-codec copied to clipboard

Utilities for encoding and decoding frames with async/await

Results 7 futures-codec issues
Sort by recently updated
recently updated
newest added

It appears that the `Sink` trait implementation for `tokio_util::codec::FramedWrite` [requires only `AsyncWrite` and not `AsyncWrite + Unpin`](https://docs.rs/tokio-util/0.3.1/tokio_util/codec/struct.FramedWrite.html#impl-Sink%3CI%3E). Is there a chance that `futures_codec::FramedWrite` could do the same? As of today,...

This allows dependent crates to use the latest version of bytes.

We’re making use of the [`doc(cfg(..))`][1] attribute to mark items in the docs that are behind feature flags. The approach seems pretty standard and is, for example, followed by the...

To be able to use this codec on top of network protocols to communicate with untrusted clients, the codec layer should have the feature to be optionally able to discard...

Implements codec that encodes `serde::Serialize` types. Uses `bincode` to do the actual serialization.

I just released a new crate that allows testing and examples without TCP, it should be more convenient than `Cursor`. I mention it here as I imagine this could interest...