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

Setting rust-version in Cargo.toml #73

Closed konstin closed 1 year ago

konstin commented 2 years ago

Would it be possible to set the rust-version field in Cargo.toml? We would like to support rust 1.59 and therefore currently have to pin rpassword ^6, with the rust-version we go switch to rpassword ^6 || ^7

messense commented 2 years ago

The 7.0.0 release notes says You will need at least Rust 1.59 to use this new release., but it's not true, the new dep:xxx syntax for Cargo features are stabilized in Rust 1.60.0.

conradkleinespel commented 2 years ago

@messense Oh alright, I'll go ahead and change the description of the release then. Thanks for the hint!

conradkleinespel commented 2 years ago

@konstin I didn't know there was a field for that. That's good to know! It would make sense to use it, yes :+1:

conradkleinespel commented 2 years ago

@konstin I don't have much time to work on rpassword at the moment but when I get a chance, I'll add a rust-version field. When it's done I'll make sure to update this issue so you're aware of the change.

conradkleinespel commented 1 year ago

Fixed with help from @LSchallot and published in v7.1.0 on crates.io