| 1 | [package] |
| 2 | name = "feel-pg" |
| 3 | description = "PostgreSQL (pgrx) wrapper around feel-core." |
| 4 | edition.workspace = true |
| 5 | version.workspace = true |
| 6 | license.workspace = true |
| 7 | |
| 8 | [lib] |
| 9 | crate-type = ["cdylib", "lib"] |
| 10 | |
| 11 | [features] |
| 12 | default = ["pg18"] |
| 13 | pg13 = ["pgrx/pg13", "pgrx-tests/pg13"] |
| 14 | pg14 = ["pgrx/pg14", "pgrx-tests/pg14"] |
| 15 | pg15 = ["pgrx/pg15", "pgrx-tests/pg15"] |
| 16 | pg16 = ["pgrx/pg16", "pgrx-tests/pg16"] |
| 17 | pg17 = ["pgrx/pg17", "pgrx-tests/pg17"] |
| 18 | pg18 = ["pgrx/pg18", "pgrx-tests/pg18"] |
| 19 | # Enable the in-process pgrx test harness (`cargo pgrx test`). |
| 20 | pg_test = [] |
| 21 | |
| 22 | [dependencies] |
| 23 | pgrx = "=0.18.1" |
| 24 | feel-core = { path = "../feel-core" } |
| 25 | # Used only to build the `EvalEnv` instant from the transaction start timestamp |
| 26 | # (ADR-18); the temporal value logic — and the IANA tzdb bundle (via feel-core's |
| 27 | # default `tzdb-bundle` feature) — lives in feel-core. Server-side size is |
| 28 | # irrelevant, so feel-pg keeps the bundle for host-independent named zones. |
| 29 | jiff = { workspace = true, features = ["std"] } |
| 30 | |
| 31 | [dev-dependencies] |
| 32 | pgrx-tests = "=0.18.1" |