Cargo Features
[dependencies]
pgrx = { version = "0.12.8", default-features = false, features = ["cshim", "pg12", "pg13", "pg14", "pg15", "pg16", "pg17", "no-schema-generation", "unsafe-postgres", "nightly"] }
- default = cshim
-
The
cshim
feature is set by default wheneverpgrx
is added without
somewhere in the dependency tree.default-features = false - cshim default
-
Enables cshim of pgrx-pg-sys
Affects
pgrx::hooks
,pgrx::namespace
,pgrx::spinlock
,list::old_list
… - pg12
-
Enables pg12 of pgrx-pg-sys
Affects
list::Enlist.mitosis
,list::Enlist.mitosis_mut
,hooks::JumbleState
,datetime_support::get_timezone_offset
… - pg13
-
Enables pg13 of pgrx-pg-sys
Affects
hooks::JumbleState
,datetime_support::get_timezone_offset
,datetime_support::ToIsoString.to_iso_string_with_timezone
… - pg14
-
Enables pg14 of pgrx-pg-sys
Affects
datetime_support::get_timezone_offset
,datetime_support::ToIsoString.to_iso_string_with_timezone
… - pg15
-
Enables pg15 of pgrx-pg-sys
Affects
datetime_support::get_timezone_offset
,datetime_support::ToIsoString.to_iso_string_with_timezone
… - pg16
-
Enables pg16 of pgrx-pg-sys
Affects
datetime_support::get_timezone_offset
,datetime_support::ToIsoString.to_iso_string_with_timezone
… - pg17
-
Enables pg17 of pgrx-pg-sys
Affects
datetime_support::get_timezone_offset
,datetime_support::ToIsoString.to_iso_string_with_timezone
… - no-schema-generation
-
Enables no-schema-generation of pgrx-macros and pgrx-sql-entity-graph
- unsafe-postgres
-
when trying to compile against something that looks like Postgres but claims to be different
- nightly
-
For features and functionality which require nightly Rust - for example, std::mem::allocator.