Update dependency and fix build (#2268)

This commit is contained in:
hchockarprasad 2023-07-15 21:16:34 +05:30 committed by GitHub
parent 1d6c12e777
commit 7f4d2e4849
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,14 +127,14 @@ tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
pharos = "0.5.3"
tokio = { version = "1.29.1", default-features = false, features = ["rt"] }
tokio = { version = "1.29.1", default-features = false, features = ["rt", "sync"] }
uuid = { version = "1.4.0", features = ["serde", "js", "v4", "v7"] }
wasmtimer = { version = "0.2.0", default-features = false, features = ["tokio"] }
wasm-bindgen-futures = "0.4.37"
ws_stream_wasm = "0.7.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.29.1", default-features = false, features = ["macros", "io-util", "io-std", "fs", "rt-multi-thread", "time"] }
tokio = { version = "1.29.1", default-features = false, features = ["macros", "io-util", "io-std", "fs", "rt-multi-thread", "time", "sync"] }
tokio-tungstenite = { version = "0.18.0", optional = true }
uuid = { version = "1.4.0", features = ["serde", "v4", "v7"] }