Is `thiserror` impossible to use in stable Rust?

258 Views Asked by At

Using a dependency like

eframe = "0.20.1"

I'm running into compilation errors because of it's dependency

Compiling thiserror v1.0.38
lib.rs
`#![feature]` may not be used on the stable release channel

It is because of this line:

#![cfg_attr(provide_any, feature(provide_any))]

Shouldn't be Rust crates compilable on stable channel?

I know this can be easily solved by switching to nightly build.
But if I can, I'd rather be on stable.

0

There are 0 best solutions below