conradkleinespel / rpassword

Cross platform Rust library to read a password in the terminal (Linux, BSD, OSX, Windows, WASM).
Apache License 2.0
244 stars 38 forks source link

Use std::mem::MaybeUninit instead of deprecated std::mem::uninitialized #40

Closed tov closed 4 years ago

tov commented 4 years ago

std::mem::uninitialized has been deprecated in favor of std::mem::MaybeUninit. This PR switches over, which removes the deprecation warnings.

conradkleinespel commented 4 years ago

@tov Just published on Crates.io as 4.0.4. Will post a release note on this repo in a minute. Thanks again!