Closed michalfita closed 5 years ago
Why closing without any response?
Sincerest apologies! I mistakenly believed this was an issue on Rocket's tracker. We go to great lengths to ensure that we're clear Rocket doesn't work on stable.
Nevertheless, this library doesn't require Rust nightly. It works just fine on stable. If you want const
constructors, you can enable the const_fn
feature (and the corresponding Rust feature), which of course requires nightly. All of this is both in the README and in the rustdocs.
Thanks for explanation.
I tried to use Storage
in 1.31.1 and it won't work without const fn
... IMVHO documentation shall be more clear when and what is available with the const fn
feature and without.
I managed to achieve what I need without state crate finally. However, I'd like to return to it once const fn
is stabilised.
BTW. it's like third case I'm finding stable const fn
would be seriously useful.
Please put a big notice in the README.md that today it's not supposed to work with stable Rust due to mandatory requirement of
const fn
not yet stabilised. It's not enough cleared in the documentation.Thank you.