rust-lang-nursery / lazy-static.rs

A small macro for defining lazy evaluated static variables in Rust.
Apache License 2.0
1.9k stars 108 forks source link

Update README.md #208

Closed AlexisTAE closed 1 year ago

AlexisTAE commented 1 year ago

Hi, I was adding the package to the dependencies but it gave me an error that version 1.5.0 doesn't exist, and I saw that the latest version was 1.4.0.

fixing typo in dependecies from "1.5.0" to "1.4.0"

xxchan commented 1 year ago

Hi @KodrAus, it seems 1.5.0 is updated 2 years ago. Would you mind publish it to crates.io?

image
KodrAus commented 1 year ago

Ah I don't think I've got the permissions necessary to publish lazy_static anymore. Somebody from @rust-lang-nursery/libs will need to do it.

The fate of this library is eventually to be replaced by types in the standard library, which are inspired by the once_cell library. I'd recommend using once_cell over lazy_static where possible while the standard library types are unstable.

As for this specific PR, I think we should go ahead and merge, since it reduces confusion about how to get started.