Skip to content

Commit

Permalink
fix(pkarr): don't export blocking in wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuhvi committed Feb 7, 2025
1 parent 556b464 commit 3a0cd31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkarr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ pub const DEFAULT_RELAYS: [&str; 2] = ["https://relay.pkarr.org", "https://pkarr
pub const DEFAULT_CACHE_SIZE: usize = 1000;

// Exports
#[cfg(all(client, not(wasm_browser)))]
pub use client::blocking::ClientBlocking;
#[cfg(client)]
pub use client::cache::{Cache, CacheKey, InMemoryCache};
#[cfg(client)]
pub use client::{blocking::ClientBlocking, builder::ClientBuilder, Client};
pub use client::{builder::ClientBuilder, Client};
#[cfg(feature = "keys")]
pub use keys::{Keypair, PublicKey};
#[cfg(feature = "signed_packet")]
Expand Down

0 comments on commit 3a0cd31

Please sign in to comment.