Cargo Features

[dependencies]
pam-client2 = { version = "0.5.2", default-features = false, features = ["cli", "serde"] }
default = cli

The cli feature is set by default whenever pam-client2 is added without default-features = false somewhere in the dependency tree.

cli default = rpassword

Affects pam-client2::conv_cli

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.

rpassword cli
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework