Cargo Features
totp-rs has no features set by default.
[dependencies]
totp-rs = { version = "5.6.0", features = ["otpauth", "qr", "serde_support", "gen_secret", "steam", "zeroize"] }
- otpauth qr? = url, urlencoding
-
Affects
totp-rs::TOTP.issuer
,totp-rs::TOTP.account_name
… - qr = otpauth
-
Enables qrcodegen-image
- serde_support = serde
- gen_secret = rand
- steam
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- serde serde_support?
- urlencoding otpauth?
- url otpauth?
- rand gen_secret?
- zeroize implicit feature