[package] authors = ["Damir Jelić "] description = "Collection of common types used in the matrix-sdk" edition = "2018" homepage = "https://github.com/matrix-org/matrix-rust-sdk" keywords = ["matrix", "chat", "messaging", "ruma", "nio"] license = "Apache-2.0" name = "matrix-sdk-common" readme = "README.md" repository = "https://github.com/matrix-org/matrix-rust-sdk" version = "0.1.0" [features] unstable-synapse-quirks = ["ruma/unstable-synapse-quirks"] [dependencies] assign = "1.1.0" instant = { version = "0.1.7", features = ["wasm-bindgen", "now"] } js_int = "0.1.9" [dependencies.ruma] version = "0.0.1" git = "https://github.com/ruma/ruma" rev = "d16fd4b2c1be1b06fd9be99373a3e77d74fadff3" features = ["client-api", "unstable-pre-spec", "unstable-exhaustive-types"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies] uuid = { version = "0.8.1", features = ["v4", "serde"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "0.2.22" default-features = false features = ["sync", "time", "fs"] [target.'cfg(target_arch = "wasm32")'.dependencies] futures-locks = { version = "0.6.0", default-features = false } uuid = { version = "0.8.1", features = ["v4", "wasm-bindgen"] }