[BUG] rust - lazy_static crate version is out of date
Created by: AsadMGradex
Generated a server using 'rust-server' generator.
I got this error:
new
function is now preferred
lazy_static! {
//-snip-
}
^
error: use of deprecated item 'std::sync::ONCE_INIT': the cargo.toml: lazy_static = "0.2"
Changing this to: lazy_static = "1.4.0" (most recent version of this crate) will solve this issue