matrix-rust-sdk/matrix_sdk_common/Cargo.toml

38 lines
1.2 KiB
TOML
Raw Normal View History

[package]
authors = ["Damir Jelić <poljar@termina.org.uk>"]
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]
2020-08-15 01:09:13 +00:00
assign = "1.1.0"
2020-10-13 11:01:18 +00:00
instant = { version = "0.1.7", features = ["wasm-bindgen", "now"] }
2020-08-11 14:54:58 +00:00
js_int = "0.1.9"
[dependencies.ruma]
2020-07-31 18:35:27 +00:00
version = "0.0.1"
git = "https://github.com/ruma/ruma"
rev = "1a4e9aa20abff4786dbb91a19fb72c1dfa4410a7"
features = ["client-api", "unstable-pre-spec"]
2020-06-20 21:18:20 +00:00
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
uuid = { version = "0.8.1", default-features = false, features = ["v4", "serde"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
2020-08-11 14:54:58 +00:00
version = "0.2.22"
default-features = false
features = ["sync"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
futures-locks = { version = "0.6.0", default-features = false }
uuid = { version = "0.8.1", default-features = false, features = ["v4", "wasm-bindgen"] }