Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / passwords / src / main / rust / Cargo.toml
Cargo.toml24 lines · 1.2 KiBRaw
| 1 | [package] |
| 2 | name = "passwords_kdbx" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | 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." |
| 6 | license = "MIT" |
| 7 | |
| 8 | [lib] |
| 9 | name = "passwords_kdbx" |
| 10 | crate-type = ["cdylib", "rlib"] |
| 11 | |
| 12 | [dependencies] |
| 13 | keepass.workspace = true |
| 14 | # keepass 0.15.x needs aes 0.9.x (cipher 0.5 stack), matching the workspace |
| 15 | # default aes 0.9.3 pin. `aes09` (=0.9.3) is kept as a redundant backstop so the |
| 16 | # 0.9 line stays in the lock even if the default pin ever moves off it. |
| 17 | aes09.workspace = true |
| 18 | jni.workspace = true |
| 19 | # serde_json now kept only for keepass internal serde, but passwords own flat map JSON was rewritten to std-only |
| 20 | # (to_json_std/from_json_std) – single-function usage per "just write it ourselves" + "prefer stdlib". |
| 21 | # serde is kept as feature dependency of keepass, not new crates. Removing serde_json direct would break keepass? Keepass deps serde alone? |
| 22 | # keepass depends on serde derive feature? It uses serde for XML parsing, but not JSON in save_kdbx4 path? Keep both for now, |
| 23 | # but passwords own lib.rs no longer uses serde_json. |
| 24 | serde.workspace = true |