[package] name = "nigig-pay-storage" version = "0.1.0" edition = "2021" # Matches the licence already declared by the other first-party crates in # this workspace (nigig-system-prefs, robius-ussd, theming). license = "MIT" description = "SQLite repository for nigig-pay payment intents. No UI or platform dependency." [features] default = [] # Encryption at rest (review item 3.1). Enabling this swaps the bundled # SQLite for a bundled SQLCipher and requires a DatabaseKey to open a # repository. It is opt-in because the host application must first supply a # real key hierarchy (Android Keystore / platform secure enclave); shipping it # on by default would invite a hardcoded or device-derived key. sqlcipher = ["rusqlite/bundled-sqlcipher"] [dependencies] # Version-pinned as well as path-based: a bare path dependency is a wildcard # requirement, which cargo-deny rejects for a payment crate. nigig-pay-domain = { path = "../nigig-pay-domain", version = "0.1.0" } # `backup` provides SQLite's online backup API, used for consistent # backup/restore (review item 3.4) instead of copying the file underneath a # live writer. rusqlite = { version = "0.32", features = ["bundled", "backup"] } serde_json = "1"