Cargo Features

[dependencies]
google-authenticator = { version = "0.4.2", default-features = false, features = ["with-qrcode", "clib"] }
default = qrcode

The qrcode feature is set by default whenever google-authenticator is added without default-features = false somewhere in the dependency tree.

with-qrcode = qrcode

Affects google-authenticator::qr_code

clib

Affects google-authenticator::create_secret, google-authenticator::qr_code_url, google-authenticator::get_code, google-authenticator::verify_code, google-authenticator::free_str, google-authenticator::qr_code

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.

qrcode default with-qrcode?

Enables qrcode ^0.12.0