Cargo Features

keepass-ng has no features set by default.

[dependencies]
keepass-ng = { version = "0.9.0", features = ["utilities", "serialization", "totp", "save_kdbx4", "challenge_response"] }
utilities = clap, rpassword, serialization, totp

Required by kp-dump-json, kp-dump-xml, kp-get-version, kp-purge-history, kp-rewrite, kp-show-db, kp-show-otp, kp-yk-add, kp-yk-recover and kp-yk-remove binaries

serialization utilities? = serde, serde_json

Enables chrono

Affects node::Node

totp utilities? = base32, totp-lite, url
save_kdbx4

Required by kp-purge-history, kp-rewrite, kp-yk-add, kp-yk-recover and kp-yk-remove binaries

challenge_response = sha1

Enables challenge_response

Affects key::ChallengeResponseKey

Required by kp-yk-add, kp-yk-recover and kp-yk-remove binaries

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.

base32 totp?
clap utilities?
rpassword utilities?
serde serialization?
serde_json serialization?
sha1 challenge_response?
totp-lite totp?
url totp?