Make crate no_std compatible
Make crate no_std while keeping it backwards compatible with a default std feature enabled(only used to impl Error for ParseError).
It seems that the changes are not complete. I still find some deps need changes or default-features = false .
I tested it with cargo build --no-default-features and cargo test with default features on purpose to use std. Is that what you tried?
I tested it with
cargo build --no-default-featuresandcargo testwith default features on purpose to use std. Is that what you tried?
I built with --target armv7a-none-eabi (which does not have a std) and fixed some of the compilation errors. You can take a look at my branch. It also requires a dep change.
Merged your branch as your PR for the dependency was merged and released.
More changes are needed in the cssparser-color crate. My branch has been updated.