Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Commit

Permalink
Fix transient rand feature
Browse files Browse the repository at this point in the history
  • Loading branch information
smokku committed Feb 14, 2021
1 parent a6afe9e commit 9746924
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"

Expand Down

0 comments on commit 9746924

Please sign in to comment.