diff --git a/Cargo.toml b/Cargo.toml index 8c9989b..65ab67f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ use-udp = ["naia-server-socket/use-udp"] use-webrtc = [ "naia-server-socket/use-webrtc", "naia-client-socket/wbindgen", - "rand/wasm-bindgen" + "futures-timer/wasm-bindgen" ] [dependencies] @@ -44,14 +44,11 @@ futures-timer = "3.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] naia-server-socket = "0.4" -[target.'cfg(target_arch = "wasm32")'.dependencies] -futures-timer = { version = "3.0", features = ["wasm-bindgen"] } - [dev-dependencies] bevy = { version = "0.4", default-features = false } serde = { version = "1.0", features = ["derive"] } simple_logger = "1" -rand = "0.7.3" +rand = { version = "0.7.3", features = ["wasm-bindgen"] } console_error_panic_hook = "0.1" console_log = "0.2"