Cargo Features

keepass-ng has no features set by default.

[dependencies]
keepass-ng = { version = "0.10.5", features = ["utilities", "serialization", "totp", "save_kdbx4", "challenge_response", "merge"] }
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? = erased-serde, serde, serde_json

Enables chrono

Affects node::Node

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

Affects compression::Compression.compress, kdbx4::HEADER_MASTER_SEED_SIZE, xml_db::dump

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

merge

Affects entry::entry_set_field_and_commit

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?
erased-serde serialization?
rpassword utilities?
serde serialization?
serde_json serialization?
sha1 challenge_response?
totp-lite totp?
url totp?