mrhooray / crc-rs

Rust implementation of CRC(16, 32, 64) with support of various standards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using on #![no_std] systems

korken89 opened this issue · comments

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!

HI again, it was simple as to do the following in Cargo.toml:

[dependencies.crc]
version = "^1.0.0"
default-features = false