Skip to content

Commit

Permalink
move wasm module into legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
obmarg committed Feb 10, 2024
1 parent 3578d66 commit d09f7e9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/legacy/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#![allow(deprecated)]

pub mod client;
#[cfg(feature = "ws_stream_wasm")]
pub mod wasm;
pub mod websockets;
File renamed without changes.
10 changes: 5 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ pub mod graphql;
#[allow(missing_docs)]
mod next;

#[cfg(feature = "ws_stream_wasm")]
mod wasm;
#[cfg(feature = "ws_stream_wasm")]
pub use wasm::{wasm_websocket_combined_split, FusedWasmWebsocketSink, WasmWebsocketMessage};

#[cfg(feature = "ws_stream_wasm")]
/// Integration with the ws_stream_wasm library
pub mod ws_stream_wasm;
Expand All @@ -55,6 +50,11 @@ pub use legacy::{
websockets,
};

#[cfg(feature = "ws_stream_wasm")]
pub use legacy::wasm::{
wasm_websocket_combined_split, FusedWasmWebsocketSink, WasmWebsocketMessage,
};

pub use next::*;

pub use error::Error;
Expand Down

0 comments on commit d09f7e9

Please sign in to comment.