[package] name = "passwords_kdbx" version = "0.1.0" edition = "2021" description = "KDBX (KeePass) read/write for the passwords app via the Rust `keepass` crate, exposed to Kotlin over JNI. Replaces keepassjava2 + Bouncy Castle while preserving .kdbx interop." license = "MIT" [lib] name = "passwords_kdbx" crate-type = ["cdylib", "rlib"] [dependencies] keepass.workspace = true # keepass 0.15.x needs aes 0.9.x (cipher 0.5 stack), matching the workspace # default aes 0.9.3 pin. `aes09` (=0.9.3) is kept as a redundant backstop so the # 0.9 line stays in the lock even if the default pin ever moves off it. aes09.workspace = true jni.workspace = true # serde_json now kept only for keepass internal serde, but passwords own flat map JSON was rewritten to std-only # (to_json_std/from_json_std) – single-function usage per "just write it ourselves" + "prefer stdlib". # serde is kept as feature dependency of keepass, not new crates. Removing serde_json direct would break keepass? Keepass deps serde alone? # keepass depends on serde derive feature? It uses serde for XML parsing, but not JSON in save_kdbx4 path? Keep both for now, # but passwords own lib.rs no longer uses serde_json. serde.workspace = true