matrix-rust-sdk/matrix_sdk/Cargo.toml

72 lines
2.1 KiB
TOML
Raw Normal View History

[package]
authors = ["Damir Jelić <poljar@termina.org.uk>"]
description = "A high level Matrix client-server library."
edition = "2018"
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
license = "Apache-2.0"
name = "matrix-sdk"
readme = "README.md"
repository = "https://github.com/matrix-org/matrix-rust-sdk"
version = "0.1.0"
[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", "feature=\"docs\""]
[features]
2020-08-13 09:06:26 +00:00
default = ["encryption", "sqlite_cryptostore", "messages"]
2020-05-08 08:13:47 +00:00
messages = ["matrix-sdk-base/messages"]
encryption = ["matrix-sdk-base/encryption", "dashmap"]
2020-08-13 09:06:26 +00:00
sqlite_cryptostore = ["matrix-sdk-base/sqlite_cryptostore"]
docs = ["encryption", "sqlite_cryptostore", "messages"]
[dependencies]
async-trait = "0.1.38"
dashmap = { version = "3.11.10", optional = true }
http = "0.2.1"
2020-08-08 14:15:22 +00:00
# FIXME: Revert to regular dependency once 0.10.8 or 0.11.0 is released
2020-08-14 15:11:54 +00:00
reqwest = { git = "https://github.com/seanmonstar/reqwest", rev = "cff487ff58630cf0ac59f3e46cbf20cf50a28b3f" }
2020-08-11 14:54:58 +00:00
serde_json = "1.0.57"
2020-07-07 13:52:08 +00:00
thiserror = "1.0.20"
2020-08-11 14:54:58 +00:00
tracing = "0.1.19"
url = "2.1.1"
matrix-sdk-common-macros = { version = "0.1.0", path = "../matrix_sdk_common_macros" }
matrix-sdk-common = { version = "0.1.0", path = "../matrix_sdk_common" }
[dependencies.matrix-sdk-base]
version = "0.1.0"
path = "../matrix_sdk_base"
default_features = false
[dependencies.tracing-futures]
version = "0.2.4"
default-features = false
features = ["std", "std-future"]
2020-07-17 08:01:22 +00:00
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
futures-timer = "3.0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.futures-timer]
version = "3.0.2"
features = ["wasm-bindgen"]
[dev-dependencies]
async-trait = "0.1.38"
2020-07-07 13:52:08 +00:00
dirs = "3.0.1"
matrix-sdk-test = { version = "0.1.0", path = "../matrix_sdk_test" }
2020-08-11 14:54:58 +00:00
tokio = { version = "0.2.22", features = ["rt-threaded", "macros"] }
serde_json = "1.0.57"
tracing-subscriber = "0.2.11"
tempfile = "3.1.0"
2020-08-11 14:54:58 +00:00
mockito = "0.27.0"
2020-04-29 08:06:02 +00:00
lazy_static = "1.4.0"
futures = "0.3.5"
[[example]]
name = "emoji_verification"
required-features = ["encryption"]