Explorar o código

refactor: redb as wasm

thesimplekid hai 1 ano
pai
achega
e06973af33
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      crates/cashu-sdk/src/mint/localstore/mod.rs

+ 1 - 0
crates/cashu-sdk/src/mint/localstore/mod.rs

@@ -10,6 +10,7 @@ use cashu::nuts::{CurrencyUnit, Id, Proof};
 use cashu::secret::Secret;
 use cashu::types::{MeltQuote, MintQuote};
 pub use memory::MemoryLocalStore;
+#[cfg(all(not(target_arch = "wasm32"), feature = "redb"))]
 pub use redb_store::RedbLocalStore;
 use thiserror::Error;