2020-04-29 07:48:00 +00:00
|
|
|
[package]
|
2020-06-25 00:30:53 +00:00
|
|
|
authors = ["Damir Jelić <poljar@termina.org.uk>"]
|
2021-01-05 10:23:18 +00:00
|
|
|
description = "Collection of common types and imports used in the matrix-sdk"
|
2020-04-29 07:48:00 +00:00
|
|
|
edition = "2018"
|
|
|
|
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
|
|
|
|
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
|
|
|
|
license = "Apache-2.0"
|
2020-05-07 06:51:59 +00:00
|
|
|
name = "matrix-sdk-common"
|
2020-04-29 07:48:00 +00:00
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
2021-01-05 10:23:18 +00:00
|
|
|
version = "0.2.0"
|
2020-04-29 07:48:00 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-06-07 15:33:08 +00:00
|
|
|
async-trait = "0.1.42"
|
2021-01-04 16:22:09 +00:00
|
|
|
instant = { version = "0.1.9", features = ["wasm-bindgen", "now"] }
|
2021-06-07 15:33:08 +00:00
|
|
|
ruma = { version = "0.1.2", features = ["client-api-c"] }
|
2021-01-25 14:47:51 +00:00
|
|
|
serde = "1.0.122"
|
2020-06-20 21:18:20 +00:00
|
|
|
|
2020-05-08 14:12:21 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2021-01-25 14:47:51 +00:00
|
|
|
uuid = { version = "0.8.2", default-features = false, features = ["v4", "serde"] }
|
2020-05-08 14:12:21 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
|
2021-01-25 14:47:51 +00:00
|
|
|
version = "1.1.0"
|
2020-05-08 14:12:21 +00:00
|
|
|
default-features = false
|
2021-06-07 15:33:08 +00:00
|
|
|
features = ["rt", "sync"]
|
2020-05-08 14:12:21 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2021-03-22 19:23:15 +00:00
|
|
|
futures = "0.3.12"
|
2020-09-08 05:28:32 +00:00
|
|
|
futures-locks = { version = "0.6.0", default-features = false }
|
2021-03-22 19:23:15 +00:00
|
|
|
wasm-bindgen-futures = "0.4"
|
2021-01-25 14:47:51 +00:00
|
|
|
uuid = { version = "0.8.2", default-features = false, features = ["v4", "wasm-bindgen"] }
|