this post was submitted on 25 Jun 2023
6 points (100.0% liked)
Rust Programming
8146 readers
90 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
lazy_static was the standard way as far as I'm concerned until this month. OnceCell or OnceLock should fill this role now.