Data Streams
Data Streams provides stream extension traits for reading and writing data with streams.
Usage
Add data-streams
to your dependencies with cargo add data-streams
, or manually in your Cargo.toml
:
[]
= "1.1.0"
use ;
no_std
Support
This crate supports no_std
and environments without alloc
. These are toggled by the std
and
alloc
features respectively. no_std
allows use in embedded environments, at the expense of lost
implementations for types that would be provided by std::io
. Disabling alloc
removes reading
UTF-8 into owned strings.