Added web-sys to websocket feature

This commit is contained in:
Zak Stucke 2024-08-27 19:19:47 +03:00
parent 00ced832b2
commit b765dd5798

View file

@ -336,7 +336,7 @@ use_web_notification = [
"web-sys/NotificationDirection", "web-sys/NotificationDirection",
"web-sys/VisibilityState" "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 = ["use_document", "dep:web-sys", "web-sys/Navigator", "web-sys/MediaQueryList"]
use_window_focus = ["use_event_listener"] use_window_focus = ["use_event_listener"]
use_window_scroll = ["use_event_listener", "use_window"] use_window_scroll = ["use_event_listener", "use_window"]