Skip to content

Commit

Permalink
fix: replace reqwasm with gloo_net
Browse files Browse the repository at this point in the history
reqwasm is just a wrapper and isn't actually required.
  • Loading branch information
brianmay committed Feb 17, 2025
1 parent 8667542 commit c1ffb61
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
9 changes: 0 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions robotica-frontend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ futures = "0.3.31"
gloo-net = "0.6.0"
gloo-timers = "0.3.0"
itertools = "0.13.0"
# See https://github.com/hamza1311/reqwasm/issues/35
reqwasm = { git = "https://github.com/brianmay/reqwasm.git", branch = "patch-1"}
serde = "1.0.215"
serde_json = "1.0.133"
thiserror = "2.0.4"
Expand Down
2 changes: 1 addition & 1 deletion robotica-frontend/src/services/websocket/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use futures::{
future::{select, Either},
SinkExt, StreamExt,
};
use gloo_net::websocket::{futures::WebSocket, Message, WebSocketError};
use gloo_timers::callback::Timeout;
use reqwasm::websocket::{futures::WebSocket, Message, WebSocketError};
use thiserror::Error;
use tracing::{debug, error, info};
use wasm_bindgen_futures::spawn_local;
Expand Down

0 comments on commit c1ffb61

Please sign in to comment.