From b765dd579831f661660066bf517343f537269d00 Mon Sep 17 00:00:00 2001 From: Zak Stucke Date: Tue, 27 Aug 2024 19:19:47 +0300 Subject: [PATCH] Added web-sys to websocket feature --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a35148d..9b111e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -336,7 +336,7 @@ use_web_notification = [ "web-sys/NotificationDirection", "web-sys/VisibilityState" ] -use_websocket = ["dep:codee"] +use_websocket = ["dep:web-sys", "dep:codee"] use_window = ["use_document", "dep:web-sys", "web-sys/Navigator", "web-sys/MediaQueryList"] use_window_focus = ["use_event_listener"] use_window_scroll = ["use_event_listener", "use_window"]