1#![cfg_attr(feature = "nightly", feature(allocator_api))]
12#![allow(clippy::type_complexity)]
13#![allow(clippy::result_large_err)]
14
15mod framework;
16#[cfg(any(test, feature = "pg_test"))]
17mod tests;
18
19pub use framework::*;
20#[cfg(feature = "proptest")]
21pub mod proptest;
22
23#[cfg(any(test, feature = "pg_test"))]
24pgrx::pg_module_magic!(name, version);
25
26#[cfg(test)]
27pub mod pg_test {
28 pub fn setup(_options: Vec<&str>) {
29 }
31
32 pub fn postgresql_conf_options() -> Vec<&'static str> {
33 vec!["shared_preload_libraries='pgrx_tests'"]
34 }
35}