matrix-sdk: Make the wasm feature for future-timers target specific.
parent
98d36d0ef0
commit
25207a1586
|
@ -23,7 +23,6 @@ serde_json = "1.0.53"
|
||||||
thiserror = "1.0.19"
|
thiserror = "1.0.19"
|
||||||
tracing = "0.1.14"
|
tracing = "0.1.14"
|
||||||
url = "2.1.1"
|
url = "2.1.1"
|
||||||
futures-timer = { version = "3.0.2", features = ["wasm-bindgen"] }
|
|
||||||
|
|
||||||
matrix-sdk-common-macros = { version = "0.1.0", path = "../matrix_sdk_common_macros" }
|
matrix-sdk-common-macros = { version = "0.1.0", path = "../matrix_sdk_common_macros" }
|
||||||
matrix-sdk-common = { version = "0.1.0", path = "../matrix_sdk_common" }
|
matrix-sdk-common = { version = "0.1.0", path = "../matrix_sdk_common" }
|
||||||
|
@ -38,6 +37,13 @@ version = "0.2.4"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["std", "std-future"]
|
features = ["std", "std-future"]
|
||||||
|
|
||||||
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures-timer]
|
||||||
|
version = "3.0.2"
|
||||||
|
|
||||||
|
[target.'cfg(target_arch = "wasm32")'.dependencies.futures-timer]
|
||||||
|
version = "3.0.2"
|
||||||
|
features = ["wasm-bindgen"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
async-trait = "0.1.31"
|
async-trait = "0.1.31"
|
||||||
dirs = "2.0.2"
|
dirs = "2.0.2"
|
||||||
|
|
Loading…
Reference in New Issue