Rust crate to send and receive data over lossy streams of bytes.
- Supports sending slices of bytes or serde-serialized types.
- Uses a checksum to detect and skip corrupted frames.
- Includes a command-line tool to decode and display serialized types.
This crate should build on the latest Rust stable, beta, and nightly
toolchains. When the cargo feature use_std
is disabled (requires
nightly toolchain), it should also build in embedded projects with
no_std
.
Source code and issues on GitHub:
Pull requests welcome.
-
framed
in directory./framed
:The core library.
-
framed_decode
in directory./decode
:A command line tool to decode data encoded by the library. See
./decode/README.md
for its documentation. -
framed_test_type
in directory./test_type
:A crate for testing
framed
: a library with encodable types and a binary that outputs encoded data.
Licensed under either of
- Apache License, Version 2.0 (see LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (see LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.