bottlerocket-os / bottlerocket-os/bottlerocket-core-kit
Replace use of `lazy_static!` with `once_cell`
Open
good first issue
- Dominant language
- Rust
- Stars
- 34
- Forks
- 77
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 23
Description
**What I'd like:**
Replace use of `lazy_static!` with `once_cell` in all our workspaces.
`once_cell` lets us avoid the use of macros, compiles faster, and allows for more ways to lazily initialize. It is also being considered for inclusion in std: https://github.com/rust-lang/rust/issues/74465.
We're already pulling in `once_cell` as a transitive dependency.
Contributor guide
Assessment
This issue has not been assessed yet.