Doesn't work when serde has its std feature enabled but serde_cbor has not
Once serde gets its std pulled in from somewhere else, all of a sudden this crate would need to implement some std error traits on the serde errors which it can't as it's a) not dealing with std in general, and b) not informed by serde.
The best workaround is probably to create an own std feature, and make sure that a note about "please enable this crate's std feature if you're using it with serde/std" is shown along with the error.
Better ideas appreciated, possibly I can pick some from https://github.com/KokaKiwi/rust-hex/pull/42#discussion_r388360637
Edited by chrysn