I’ve recently realized that it is already possible to implement
lazy_static! (and more!) on stable Rust with a nice API without macros.
So, once_cell was created, which implements a single assignment cell-like type, which you can just use in a static context, without any strings attached.
See the docs for various examples: https://docs.rs/once_cell/.