The structure and contents of this crate are based on
serde but not compatible with it
serde doesn’t support
async). Most of the code which makes up
is copied directly from
serde with minimal modifications.
serde is dual-licensed under the MIT and Apache-2.0 licenses, which are available at
Important differences between
destreamsupports decoding from and encoding to a
destreamdoes not (yet) support the
derivemacro, so you can’t derive
ToStream, and there is no built-in functionality for decoding/encoding a given
Decoderassumes the static lifetime and only supports owned types, but
Encoderuses a specific lifetime
'en. This is the opposite of
destream itself does not implement support for any specific serialization format.
destream_json provides support for streaming JSON.