Cargo Features

[dependencies]
pgrx-tests = { version = "0.12.9", default-features = false, features = ["pg12", "pg13", "pg14", "pg15", "pg16", "pg17", "pg_test", "proptest", "cshim", "no-schema-generation", "nightly"] }
default = proptest

The proptest feature is set by default whenever pgrx-tests is added without default-features = false somewhere in the dependency tree.

pg12

Enables pg12 of pgrx

pg13

Enables pg13 of pgrx

pg14

Enables pg14 of pgrx

pg15

Enables pg15 of pgrx

pg16

Enables pg16 of pgrx

pg17

Enables pg17 of pgrx

pg_test
proptest default

Enables proptest

Affects pgrx-tests::proptest

cshim

Enables cshim of pgrx

no-schema-generation

Enables no-schema-generation of pgrx and pgrx-macros

nightly

Enables nightly of pgrx

pgrx:

For features and functionality which require nightly Rust - for example, std::mem::allocator.