From 0e20b5f783cf71f483149798daf596933f7ea080 Mon Sep 17 00:00:00 2001 From: Noah Citron Date: Wed, 8 Mar 2023 16:25:22 -0500 Subject: [PATCH] fix: remove FileDB export for wasm build (#203) --- src/lib.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 1ec191c..4d54ee0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -51,10 +51,9 @@ //! Errors used across helios. pub mod client { - pub use client::{ - database::{ConfigDB, FileDB}, - Client, ClientBuilder, - }; + #[cfg(not(target_arch = "wasm32"))] + pub use client::database::FileDB; + pub use client::{database::ConfigDB, Client, ClientBuilder}; } pub mod config {