Cargo Features

[dependencies]
keepass-ng = { version = "0.0.2", default-features = false, features = ["utilities", "serialization", "totp", "save_kdbx4"] }
default = save_kdbx4

The save_kdbx4 feature is set by default whenever keepass-ng is added without default-features = false somewhere in the dependency tree.

utilities = anyhow, clap, rpassword, serialization, totp

Required by kp-dump-json, kp-dump-xml, kp-get-version, kp-rewrite, kp-show-db and kp-show-otp binaries

serialization utilities? = serde, serde_json

Enables chrono

Affects node::Node

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

Required by the kp-rewrite binary

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.

anyhow utilities?
base32 totp?

Enables base32 ^0.4.0

clap utilities?
rpassword utilities?
serde serialization?
serde_json serialization?
totp-lite totp?
url totp?