stacks-network/stacks-core
Ver no GitHubReplace lazy_static! with `std::cell::LazyCell`
Open
#5.035 aberto em 1 de ago. de 2024
good first issuerefactoring
Métricas do repositório
- Stars
- (3.063 stars)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
With std::cell::LazyCell landing in Rust 1.80 (https://doc.rust-lang.org/std/cell/struct.LazyCell.html), I believe all of our uses of lazy_static! can be replaced. This will eliminate a dependency and some uneccessary macro magic.