matrix-rust-sdk/matrix_sdk_common/Cargo.toml

40 lines
1.3 KiB
TOML
Raw Normal View History

[package]
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"
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"
2021-01-05 10:23:18 +00:00
version = "0.2.0"
[features]
markdown = ["ruma/markdown"]
[dependencies]
2021-01-04 16:22:09 +00:00
instant = { version = "0.1.9", features = ["wasm-bindgen", "now"] }
2021-01-25 14:47:51 +00:00
serde = "1.0.122"
async-trait = "0.1.42"
[dependencies.ruma]
2021-04-19 10:16:13 +00:00
version = "0.0.3"
git = "https://github.com/ruma/ruma"
2021-04-26 06:05:58 +00:00
rev = "1e005f576e4640ee5ce6e357bcf33293819502d1"
features = ["client-api-c", "compat", "unstable-pre-spec"]
2020-06-20 21:18:20 +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"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
2021-01-25 14:47:51 +00:00
version = "1.1.0"
default-features = false
features = ["sync"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
futures = "0.3.12"
futures-locks = { version = "0.6.0", default-features = false }
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"] }