I've opened a PR here: #101 With Rust 1.81, the error trait now lives in core. I think coset can live with no_std and alloc only if we reflect that change.