I found an open-coded thing with once_cell in arti-config. I think a precooked macro would be nicer.
arti-config