[package]
edition = "2024"
name = "pgrx"
version = "0.17.0"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
build = false
include = ["src/**/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "pgrx: A Rust framework for creating Postgres extensions"
homepage = "https://github.com/pgcentralfoundation/pgrx/"
documentation = "https://docs.rs/pgrx"
readme = "README.md"
keywords = [
"database",
"postgres",
"postgresql",
"extension",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/pgcentralfoundation/pgrx/"
[package.metadata.docs.rs]
features = [
"pg14",
"cshim",
]
no-default-features = true
rustc-args = [
"--cfg",
"docsrs",
]
[features]
cshim = ["pgrx-pg-sys/cshim"]
default = ["cshim"]
nightly = []
no-schema-generation = [
"pgrx-macros/no-schema-generation",
"pgrx-sql-entity-graph/no-schema-generation",
]
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"]
pg18 = ["pgrx-pg-sys/pg18"]
unsafe-postgres = []
[lib]
name = "pgrx"
crate-type = ["rlib"]
path = "src/lib.rs"
[dependencies.bitflags]
version = "2.9.0"
[dependencies.bitvec]
version = "1.0"
[dependencies.enum-map]
version = "2.7.3"
[dependencies.libc]
version = "0.2"
[dependencies.pgrx-macros]
version = "=0.17.0"
[dependencies.pgrx-pg-sys]
version = "=0.17.0"
[dependencies.pgrx-sql-entity-graph]
version = "=0.17.0"
[dependencies.seahash]
version = "4.1.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_cbor]
version = "0.11.2"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2"
[dependencies.uuid]
version = "1.16.0"
features = ["v4"]
[lints.clippy]
cast_ptr_alignment = "allow"
len_without_is_empty = "allow"
missing_safety_doc = "allow"
needless_lifetimes = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unnecessary_cast = "allow"
[lints.rust]
unsafe-op-in-unsafe-fn = "allow"