You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#196 removed most uses of std, but as said there std::io and std::error::Error are two remaining uses of std with no no_std replacement. Here is the tracking issue: rust-lang/rust#48331
This issue is about adding an alternative API which wouldn’t use the io::Read trait for reading JPEG data, so that it could be used in embedded environments.
The text was updated successfully, but these errors were encountered:
One possibility to solve this, is to create your own std::io::Read alike Trait with a custom error type and implement this for everything implementing std::io::Read if std is available.
This way the same API can be used with your no_std and the std Read type.
#196 removed most uses of
std
, but as said therestd::io
andstd::error::Error
are two remaining uses ofstd
with nono_std
replacement. Here is the tracking issue: rust-lang/rust#48331This issue is about adding an alternative API which wouldn’t use the
io::Read
trait for reading JPEG data, so that it could be used in embedded environments.The text was updated successfully, but these errors were encountered: