colored icon indicating copy to clipboard operation
colored copied to clipboard

Move away from lazy_static

Open xTachyon opened this issue 1 year ago • 1 comments

Is there a plan to move away from lazy_static? This seems to pull an ancient version of spin that, at least for me, results in a duplicated dependency.

I think the new way of doing this is through OnceLock, which conveniently is introduced in 1.70, which is the MSRV for this crate.

xTachyon avatar Jan 14 '24 01:01 xTachyon

Hi @xTachyon! We would welcome the change if you would like to raise a PR :smile:

kurtlawrence avatar Jan 14 '24 23:01 kurtlawrence

should this issue be open?

RuboGubo avatar Jul 16 '24 23:07 RuboGubo

Looks like #164 intended to close this, but unfortunately (and somewhat surprisingly) "solves" isn't one of the keywords that GitHub picks up. "resolves" is, though 🙂

spenserblack avatar Jul 17 '24 00:07 spenserblack