42 lines
648 B
TOML
42 lines
648 B
TOML
[workspace]
|
|
members = [
|
|
".",
|
|
"validator",
|
|
]
|
|
|
|
[package]
|
|
name = "jspg"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
pgrx = "0.16.1"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
lazy_static = "1.5.0"
|
|
boon = { path = "validator" }
|
|
|
|
[dev-dependencies]
|
|
pgrx-tests = "0.16.1"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "lib"]
|
|
|
|
[[bin]]
|
|
name = "pgrx_embed_jspg"
|
|
path = "src/bin/pgrx_embed.rs"
|
|
|
|
[features]
|
|
pg18 = ["pgrx/pg18", "pgrx-tests/pg18" ]
|
|
# Local feature flag used by `cargo pgrx test`
|
|
pg_test = []
|
|
|
|
[profile.dev]
|
|
panic = "unwind"
|
|
lto = "thin"
|
|
|
|
[profile.release]
|
|
panic = "unwind"
|
|
opt-level = 3
|
|
lto = "fat"
|
|
codegen-units = 1 |