From bb8153cbe7d5e9270c8e7d7e0b2718480964ff0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Wed, 21 Aug 2024 14:54:21 +0200 Subject: [PATCH] Do not import the encrypt LMDB function for heed3 --- heed/src/mdb/lmdb_ffi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heed/src/mdb/lmdb_ffi.rs b/heed/src/mdb/lmdb_ffi.rs index cb8b3ba5..36f399ed 100644 --- a/heed/src/mdb/lmdb_ffi.rs +++ b/heed/src/mdb/lmdb_ffi.rs @@ -1,6 +1,6 @@ use std::ptr; -#[cfg(master3)] +#[cfg(all(master3, encryption))] pub use ffi::mdb_env_set_encrypt; pub use ffi::{ mdb_cursor_close, mdb_cursor_del, mdb_cursor_get, mdb_cursor_open, mdb_cursor_put,