소스 검색

refactor: redb as wasm

thesimplekid 1 년 전
부모
커밋
e06973af33
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;