[package] name = "nigig-pay-domain" 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 = "Pure domain types for nigig-pay: Money, payment state machine, traits. No UI framework dependency." [features] default = [] ## Exposes state-forcing hooks used only by the lifecycle matrix in ## `tests/`. Never enable for a shipped build: it bypasses transition ## validation by design. test-hooks = [] [dependencies] serde = { version = "1", features = ["derive"] } chrono = "0.4" rand = "0.8" # Benchmarks use the stable harness (a plain binary), not libtest's unstable # bench attribute, so they run on the pinned stable toolchain. [[bench]] name = "payment_benchmarks" harness = false