audunhalland / unimock

A versatile and developer-friendly trait mocking library
MIT License
71 stars 3 forks source link

Drop `once_cell` dependency once the standard library provides it #21

Closed audunhalland closed 5 months ago

audunhalland commented 1 year ago

OnceCell has been stabilized. Using it requires increased MSRV, so requires a major version bump.

audunhalland commented 6 months ago

try_insert has not been stabilized yet, need to wait for that to use the once cell with value_chain.

edit: Also a bit of a shame that the thread-safe OnceLock only resides in std, so no_std will need the old once_cell anyway. Not sure if it's worth it to go with the std version.

audunhalland commented 5 months ago

Closing (for now)