This library is a cheap wrapper around otpauth, qrcode and image to seamlessly manage Time-based One-Time Password authentification
Add it to your Cargo.toml:
Cargo.toml
[dependencies.totp] git = "https://github.com/constantoine/totp-rs"