Skip to content

Commit

Permalink
Add note on OnceCell inclusion in std
Browse files Browse the repository at this point in the history
Fixes #84
  • Loading branch information
nicoburns committed Jan 8, 2024
1 parent 2d21a32 commit 5f46bbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/crates.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,10 @@
"purposes": [
{
"name": "Lazy static variable initialization",
"notes": "The core functionality of once_cell is now <a href=\"https://doc.rust-lang.org/stable/std/cell/struct.OnceCell.html\">included in the standard library</a> with the remaining parts <a href=\"https://github.com/rust-lang/rust/issues/109736\">on track</a> to be stabilised in future.",
"recommendations": [{
"name": "once_cell",
"notes": "Newer crate with more ergonomic API. On track to be incorporated into the standard library. Should be preferred for all new projects."
"notes": "Newer crate with more ergonomic API. Should be preferred for all new projects."
}, {
"name": "lazy_static",
"notes": "Older crate. API is less convenient, but crate is stable and maintained."
Expand Down

0 comments on commit 5f46bbb

Please sign in to comment.