Merge branch 'fix-sdk-common-dep-feature'

master
Damir Jelić 2021-09-13 11:47:20 +02:00
commit 97e15feb0d
1 changed files with 8 additions and 1 deletions

View File

@ -12,7 +12,6 @@ version = "0.4.0"
[dependencies]
async-trait = "0.1.50"
instant = { version = "0.1.9", features = ["wasm-bindgen", "now"] }
ruma = { version = "0.4.0", features = ["client-api-c"] }
serde = "1.0.126"
@ -24,6 +23,14 @@ version = "1.7.1"
default-features = false
features = ["rt", "sync"]
[target.'cfg(target_arch = "wasm32")'.dependencies.instant]
version = "0.1.9"
features = ["wasm-bindgen", "now"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.instant]
version = "0.1.9"
features = ["now"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
futures = "0.3.15"
futures-locks = { version = "0.6.0", default-features = false }