minus-squareNyefan@lemmy.mltoRust Programming@lemmy.ml•How to create a block of static datalinkfedilinkarrow-up4·1 year agolazy_static was the standard way as far as I’m concerned until this month. OnceCell or OnceLock should fill this role now. linkfedilink
lazy_static was the standard way as far as I’m concerned until this month. OnceCell or OnceLock should fill this role now.