PostgreSQL extension for generating Xata-style xata_id unique identifiers (rec_<20_chars>) using Rust and pgrx.
1[package]
2name = "xata_id_extension"
3version = "0.0.0"
4edition = "2021"
5
6[lib]
7crate-type = ["cdylib", "lib"]
8
9[[bin]]
10name = "pgrx_embed_xata_id_extension"
11path = "./src/bin/pgrx_embed.rs"
12
13[features]
14default = ["pg13"]
15pg13 = ["pgrx/pg13", "pgrx-tests/pg13" ]
16pg14 = ["pgrx/pg14", "pgrx-tests/pg14" ]
17pg15 = ["pgrx/pg15", "pgrx-tests/pg15" ]
18pg16 = ["pgrx/pg16", "pgrx-tests/pg16" ]
19pg17 = ["pgrx/pg17", "pgrx-tests/pg17" ]
20pg18 = ["pgrx/pg18", "pgrx-tests/pg18" ]
21pg_test = []
22
23[dependencies]
24pgrx = "=0.15.0"
25xid = "1.1.1"
26
27[dev-dependencies]
28pgrx-tests = "=0.15.0"
29
30[profile.dev]
31panic = "unwind"
32
33[profile.release]
34panic = "unwind"
35opt-level = 3
36lto = "fat"
37codegen-units = 1