Skip to content

Commit cd4744b

Browse files
authored
move pg_module_magic! behind feature flag (#896)
1 parent c30fd38 commit cd4744b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pgml-extension/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub mod metrics;
1515
pub mod orm;
1616
pub mod vectors;
1717

18+
#[cfg(not(feature = "use_as_lib"))]
1819
pg_module_magic!();
1920

2021
extension_sql_file!("../sql/schema.sql", name = "schema");

0 commit comments

Comments
 (0)