matrix-rust-sdk/matrix_sdk_crypto/Cargo.toml

59 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"
2021-01-05 10:23:18 +00:00
version = "0.2.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]
2021-01-05 10:23:18 +00:00
matrix-sdk-common = { version = "0.2.0", path = "../matrix_sdk_common" }
2020-10-13 11:01:18 +00:00
olm-rs = { version = "1.0.0", features = ["serde"] }
2021-01-04 16:22:09 +00:00
getrandom = "0.2.1"
serde = { version = "1.0.118", features = ["derive", "rc"] }
serde_json = "1.0.61"
zeroize = { version = "1.2.0", features = ["zeroize_derive"] }
# Misc dependencies
2021-01-04 16:22:09 +00:00
thiserror = "1.0.23"
tracing = "0.1.22"
2020-08-11 14:54:58 +00:00
atomic = "0.5.0"
2021-01-04 16:22:09 +00:00
dashmap = "4.0.1"
sha2 = "0.9.2"
aes-gcm = "0.8.0"
aes-ctr = "0.6.0"
pbkdf2 = { version = "0.6.0", default-features = false }
hmac = "0.10.1"
2020-10-13 11:01:18 +00:00
base64 = "0.13.0"
byteorder = "1.3.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sqlx]
2021-01-04 16:22:09 +00:00
version = "0.4.2"
optional = true
default-features = false
2020-11-29 10:22:53 +00:00
features = ["runtime-tokio-native-tls", "sqlite", "macros"]
[dev-dependencies]
tokio = { version = "1.0.1", default-features = false, features = ["rt-multi-thread", "macros"] }
2021-01-04 16:22:09 +00:00
futures = "0.3.8"
proptest = "0.10.1"
2021-01-04 16:22:09 +00:00
serde_json = "1.0.61"
tempfile = "3.1.0"
2021-01-04 16:22:09 +00:00
http = "0.2.2"
2021-01-05 10:23:18 +00:00
matrix-sdk-test = { version = "0.2.0", path = "../matrix_sdk_test" }
2020-10-13 11:01:18 +00:00
indoc = "1.0.3"