Using on #![no_std] systems
korken89 opened this issue · comments
Emil Fresk commented
Hi, I was trying to use this crate on a #![no_std]
system but I am getting errors that you are using the std
crate.
However when looking at your code it seems that you are conditionally removing std
usage unless the std
feature is specified.
This brings me to the question, what am I missing? As from the code it should not be a problem as I have not specified the std
feature in my dependencies on this crate.
Thanks!
Emil Fresk commented
HI again, it was simple as to do the following in Cargo.toml
:
[dependencies.crc]
version = "^1.0.0"
default-features = false