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

Expose HiddenInput in the public interface? #96

Closed ifd3f closed 4 months ago

ifd3f commented 4 months ago

Would it be possible to expose the HiddenInput struct in the public interface of the crate? I have a somewhat complicated usecase and I would like to use it directly.

conradkleinespel commented 4 months ago

Hello @ifd3f, no sorry, that's not the point of this library, but feel free to copy/paste de code provided you keep the licensing information in there (Apache 2 license + copyright notice). It's only a couple of dozen lines of code after all :wink: