[package]
name = "pgrx"
version = "0.12.9"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "pgrx: A Rust framework for creating Postgres extensions"
homepage = "https://github.com/pgcentralfoundation/pgrx/"
repository = "https://github.com/pgcentralfoundation/pgrx/"
documentation = "https://docs.rs/pgrx"
categories = ["database"]
keywords = ["database", "postgres", "postgresql", "extension"]
readme = "../README.md"
edition = "2021"
include = ["src/**/*"]
[lib]
crate-type = ["rlib"]
[features]
default = ["cshim"]
cshim = ["pgrx-pg-sys/cshim"]
pg12 = ["pgrx-pg-sys/pg12"]
pg13 = ["pgrx-pg-sys/pg13"]
pg14 = ["pgrx-pg-sys/pg14"]
pg15 = ["pgrx-pg-sys/pg15"]
pg16 = ["pgrx-pg-sys/pg16"]
pg17 = ["pgrx-pg-sys/pg17"]
no-schema-generation = ["pgrx-macros/no-schema-generation", "pgrx-sql-entity-graph/no-schema-generation"]
unsafe-postgres = []
nightly = []
[package.metadata.docs.rs]
features = ["pg14", "cshim"]
no-default-features = true
rustc-args = ["--cfg", "docsrs"]
[dependencies]
pgrx-macros.workspace = true
pgrx-pg-sys.workspace = true
pgrx-sql-entity-graph.workspace = true
thiserror.workspace = true
once_cell = "1.18.0"
uuid = { version = "1.4.1", features = ["v4"] }
enum-map = "2.6.3"
atomic-traits = "0.3.0"
bitflags = "2.4.0"
bitvec = "1.0"
heapless = "0.8"
libc.workspace = true
seahash = "4.1.0"
serde.workspace = true
serde_cbor = "0.11.2"
serde_json.workspace = true
[lints]
clippy.cast_ptr_alignment = "allow"
clippy.len_without_is_empty = "allow"
clippy.missing_safety_doc = "allow"
clippy.too_many_arguments = "allow"
clippy.type_complexity = "allow"
clippy.unnecessary_cast = "allow"