The Wayback Machine - https://web.archive.org/web/20201016022941/https://github.com/mehcode/config-rs/issues/135
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning in old version lazy_static! use in various examples #135

Open
eisterman opened this issue Mar 14, 2020 · 0 comments
Open

Comments

@eisterman
Copy link
Contributor

@eisterman eisterman commented Mar 14, 2020

In various examples the lazy_static! macro from lazy_static v1.0 crate generate the deprecation warning
warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred

The actual version of lazy_static is v1.4 and I'm advising to upgrade the create.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.