Ever since I got serious about Rust, if I need to initialize something exactly once I've been using the
lazy_static crate, which works quite well.
But the last couple of months I've seen OnceCell pop up every now and again.
It seems to be advertised as a macro-less version of
lazy_static, and indeed I can see that they both can server the use case I mentioned above.
My question is, other than the fact that one is a macro and the other is not, why should I care, or why should I prefer