[package]
edition = "2024"
name = "pgrx-pg-sys"
version = "0.17.0"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
build = "bindgen.rs"
include = [
"src/**/*",
"README.md",
"include/*",
"pgrx-cshim.c",
"bindgen.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generated Rust bindings for Postgres internals, for use with 'pgrx'"
homepage = "https://github.com/pgcentralfoundation/pgrx/"
documentation = "https://docs.rs/pgrx-pg-sys"
readme = "README.md"
license = "MIT"
repository = "https://github.com/pgcentralfoundation/pgrx/"
[package.metadata.docs.rs]
features = [
"pg14",
"cshim",
]
no-default-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustc-args = [
"--cfg",
"docsrs",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
cshim = []
default = []
pg13 = []
pg14 = []
pg15 = []
pg16 = []
pg17 = []
pg18 = []
[lib]
name = "pgrx_pg_sys"
path = "src/lib.rs"
[dependencies.libc]
version = "0.2"
[dependencies.pgrx-macros]
version = "=0.17.0"
[dependencies.pgrx-sql-entity-graph]
version = "=0.17.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[build-dependencies.pgrx-bindgen]
version = "=0.17.0"
[target.'cfg(all(any(target_os = "linux", target_os = "macos"), any(target_arch = "x86_64", target_arch = "aarch64")))'.dependencies.cee-scape]
version = "0.2"
[lints.rust]
dead_code = "allow"
improper_ctypes = "allow"
non_camel_case_types = "allow"
non_snake_case = "allow"
non_upper_case_globals = "allow"
unsafe-op-in-unsafe-fn = "allow"
unused-braces = "allow"