matrix-rust-sdk/matrix_sdk_crypto/Cargo.toml

60 lines
1.6 KiB
TOML
Raw Normal View History

[package]
authors = ["Damir Jelić <poljar@termina.org.uk>"]
description = "Matrix encryption 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-crypto"
readme = "README.md"
repository = "https://github.com/matrix-org/matrix-rust-sdk"
version = "0.1.0"
2020-08-13 09:06:26 +00:00
[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", "feature=\"docs\""]
[features]
default = []
2020-08-13 09:06:26 +00:00
sqlite_cryptostore = ["sqlx"]
docs = ["sqlite_cryptostore"]
[dependencies]
2020-08-14 15:11:54 +00:00
async-trait = "0.1.37"
matrix-sdk-common-macros = { version = "0.1.0", path = "../matrix_sdk_common_macros" }
2020-05-08 11:54:46 +00:00
matrix-sdk-common = { version = "0.1.0", path = "../matrix_sdk_common" }
2020-08-11 14:54:58 +00:00
olm-rs = { git = 'https://gitlab.gnome.org/jhaye/olm-rs/', features = ["serde"]}
serde = { version = "1.0.115", features = ["derive"] }
serde_json = "1.0.57"
2020-07-07 13:52:08 +00:00
cjson = "0.1.1"
zeroize = { version = "1.1.0", features = ["zeroize_derive"] }
url = "2.1.1"
# Misc dependencies
2020-07-07 13:52:08 +00:00
thiserror = "1.0.20"
2020-08-11 14:54:58 +00:00
tracing = "0.1.19"
atomic = "0.5.0"
dashmap = "3.11.10"
[dependencies.tracing-futures]
version = "0.2.4"
default-features = false
features = ["std", "std-future"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sqlx]
2020-05-08 11:54:46 +00:00
version = "0.3.5"
optional = true
default-features = false
features = ["runtime-tokio", "sqlite"]
[dev-dependencies]
tokio = { version = "0.2.22", features = ["rt-threaded", "macros"] }
futures = "0.3.5"
proptest = "0.10.0"
serde_json = "1.0.57"
tempfile = "3.1.0"
http = "0.2.1"
matrix-sdk-test = { version = "0.1.0", path = "../matrix_sdk_test" }