matrix-rust-sdk/matrix_sdk/Cargo.toml

102 lines
2.7 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"
2021-01-05 10:23:18 +00:00
version = "0.2.0"
[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", "feature=\"docs\""]
[features]
default = ["encryption", "sled_cryptostore", "sled_state_store", "require_auth_for_profile_requests", "native-tls"]
encryption = ["matrix-sdk-base/encryption"]
sled_state_store = ["matrix-sdk-base/sled_state_store"]
2021-01-18 12:38:00 +00:00
sled_cryptostore = ["matrix-sdk-base/sled_cryptostore"]
markdown = ["matrix-sdk-base/markdown"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
2020-08-26 13:17:41 +00:00
socks = ["reqwest/socks"]
2021-03-23 14:30:40 +00:00
sso_login = ["warp", "rand", "tokio-stream"]
require_auth_for_profile_requests = []
appservice = ["matrix-sdk-common/appservice"]
2021-03-23 14:30:40 +00:00
docs = ["encryption", "sled_cryptostore", "sled_state_store", "sso_login"]
[dependencies]
dashmap = "4.0.2"
2021-01-25 14:47:51 +00:00
futures = "0.3.12"
http = "0.2.3"
2021-01-04 16:22:09 +00:00
serde_json = "1.0.61"
thiserror = "1.0.23"
tracing = "0.1.22"
url = "2.2.0"
zeroize = "1.2.0"
mime = "0.3.16"
2021-03-23 14:30:40 +00:00
rand = { version = "0.8.2", optional = true }
bytes = "1.0.1"
2021-01-05 10:23:18 +00:00
matrix-sdk-common = { version = "0.2.0", path = "../matrix_sdk_common" }
[dependencies.matrix-sdk-base]
2021-01-05 10:23:18 +00:00
version = "0.2.0"
path = "../matrix_sdk_base"
default_features = false
[dependencies.reqwest]
version = "0.11.0"
default_features = false
2021-03-23 14:30:40 +00:00
[dependencies.tokio-stream]
version = "0.1.4"
features = ["net"]
optional = true
[dependencies.warp]
version = "0.3.0"
default-features = false
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.backoff]
version = "0.3.0"
features = ["tokio"]
[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(not(target_arch = "wasm32"))'.dependencies.tokio]
2021-01-25 14:47:51 +00:00
version = "1.1.0"
default-features = false
features = ["fs", "rt"]
[target.'cfg(target_arch = "wasm32")'.dependencies.futures-timer]
version = "3.0.2"
features = ["wasm-bindgen"]
[dev-dependencies]
2020-07-07 13:52:08 +00:00
dirs = "3.0.1"
2021-01-05 10:23:18 +00:00
matrix-sdk-test = { version = "0.2.0", path = "../matrix_sdk_test" }
2021-01-25 14:47:51 +00:00
tokio = { version = "1.1.0", default-features = false, features = ["rt-multi-thread", "macros"] }
2021-01-04 16:22:09 +00:00
serde_json = "1.0.61"
tracing-subscriber = "0.2.15"
2021-01-25 14:47:51 +00:00
tempfile = "3.2.0"
mockito = "0.29.0"
2020-04-29 08:06:02 +00:00
lazy_static = "1.4.0"
2021-04-29 11:28:08 +00:00
matrix-sdk-common = { version = "0.2.0", path = "../matrix_sdk_common" }
[[example]]
name = "emoji_verification"
required-features = ["encryption"]