[package]
name = "pgrx-tests"
version = "0.12.9"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "Test framework for 'pgrx'-based Postgres extensions"
homepage = "https://github.com/pgcentralfoundation/pgrx/"
repository = "https://github.com/pgcentralfoundation/pgrx/"
documentation = "https://docs.rs/pgrx-tests"
readme = "README.md"
edition = "2021"
include = ["src/**/*", "README.md", "!**/tests/**/*"]
[lib]
crate-type = ["cdylib", "lib"]
[[bin]]
name = "pgrx_embed_pgrx-tests"
path = "./src/bin/pgrx_embed.rs"
[features]
default = ["proptest"]
pg12 = ["pgrx/pg12"]
pg13 = ["pgrx/pg13"]
pg14 = ["pgrx/pg14"]
pg15 = ["pgrx/pg15"]
pg16 = ["pgrx/pg16"]
pg17 = ["pgrx/pg17"]
pg_test = []
proptest = ["dep:proptest"]
cshim = ["pgrx/cshim"]
no-schema-generation = ["pgrx/no-schema-generation", "pgrx-macros/no-schema-generation"]
nightly = ["pgrx/nightly"]
[package.metadata.docs.rs]
features = ["pg14", "proptest"]
no-default-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
pgrx-macros.workspace = true
pgrx-pg-config.workspace = true
clap-cargo.workspace = true
eyre.workspace = true
libc.workspace = true
owo-colors.workspace = true
regex.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
paste = "1"
postgres = "0.19.7"
proptest = { version = "1", optional = true }
sysinfo = "0.30.10"
rand = "0.8.5"
[dependencies.pgrx]
path = "../pgrx"
default-features = false
version = "=0.12.9"
[dev-dependencies]
eyre.workspace = true
trybuild = "1"
[lints]
rust.unused-lifetimes = "deny"
clippy.used-underscore-binding = "deny"