matrix-rust-sdk/matrix_sdk_base/Cargo.toml

57 lines
1.7 KiB
TOML
Raw Normal View History

[package]
authors = ["Damir Jelić <poljar@termina.org.uk>"]
2020-05-08 11:54:46 +00:00
description = "The base component to build a Matrix client 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-base"
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]
2020-08-13 09:06:26 +00:00
default = ["encryption", "sqlite_cryptostore", "messages"]
messages = []
encryption = ["matrix-sdk-crypto"]
2020-08-13 09:06:26 +00:00
sqlite_cryptostore = ["matrix-sdk-crypto/sqlite_cryptostore"]
unstable-synapse-quirks = ["matrix-sdk-common/unstable-synapse-quirks"]
markdown = ["matrix-sdk-common/markdown"]
docs = ["encryption", "sqlite_cryptostore", "messages"]
[dependencies]
2021-01-04 16:22:09 +00:00
serde = "1.0.118"
serde_json = "1.0.61"
zeroize = "1.2.0"
tracing = "0.1.22"
2021-01-05 10:23:18 +00:00
matrix-sdk-common = { version = "0.2.0", path = "../matrix_sdk_common" }
matrix-sdk-crypto = { version = "0.2.0", path = "../matrix_sdk_crypto", optional = true }
# Misc dependencies
2021-01-04 16:22:09 +00:00
thiserror = "1.0.23"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.0.1"
default-features = false
features = ["sync", "fs"]
[dev-dependencies]
2021-01-04 16:22:09 +00:00
futures = "0.3.8"
2021-01-05 10:23:18 +00:00
matrix-sdk-test = { version = "0.2.0", path = "../matrix_sdk_test" }
2021-01-04 16:22:09 +00:00
http = "0.2.2"
tracing-subscriber = "0.2.15"
tempfile = "3.1.0"
2021-01-04 16:22:09 +00:00
mockito = "0.28.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "1.0.1", default-features = false, features = ["rt-multi-thread", "macros"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2021-01-04 16:22:09 +00:00
wasm-bindgen-test = "0.3.19"