first commit of jspg extension

This commit is contained in:
2025-04-12 17:15:50 -04:00
commit 1b19ea1a1d
6 changed files with 290 additions and 0 deletions

37
Cargo.toml Normal file
View File

@ -0,0 +1,37 @@
[package]
name = "jspg"
version = "0.1.0"
edition = "2024"
[dependencies]
[lib]
crate-type = ["cdylib", "lib"]
[[bin]]
name = "jspg"
path = "./src/bin/jspg.rs"
[features]
default = ["pg17"]
pg17 = ["pgrx/pg17", "pgrx-tests/pg17" ]
pg_test = []
[dependencies]
pgrx = "0.14.0"
serde = "1.0.219"
serde_json = "1.0.140"
jsonschema = {version = "0.29.1", default-features = false}
[dev-dependencies]
pgrx-tests = "0.14.0"
[profile.dev]
panic = "unwind"
lto = "thin"
[profile.release]
panic = "unwind"
opt-level = 3
lto = "fat"
codegen-units = 1