59 lines
1.4 KiB
TOML
59 lines
1.4 KiB
TOML
|
[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"
|
||
|
|
||
|
[features]
|
||
|
default = []
|
||
|
sqlite-cryptostore = ["sqlx"]
|
||
|
|
||
|
[dependencies]
|
||
|
futures = "0.3.4"
|
||
|
async-trait = "0.1.30"
|
||
|
|
||
|
matrix-sdk-types = { path = "../matrix_sdk_types" }
|
||
|
|
||
|
olm-rs = { version = "0.5.0", features = ["serde"]}
|
||
|
serde = { version = "1.0.106", features = ["derive"] }
|
||
|
serde_json = { version = "1.0.51" }
|
||
|
cjson = { version = "0.1.0" }
|
||
|
zeroize = { version = "1.1.0", features = ["zeroize_derive"] }
|
||
|
uuid = { version = "0.8.1", features = ["v4"] }
|
||
|
url = "2.1.1"
|
||
|
|
||
|
# Misc dependencies
|
||
|
thiserror = "1.0.14"
|
||
|
tracing = "0.1.13"
|
||
|
atomic = "0.4.5"
|
||
|
dashmap = "3.10.0"
|
||
|
|
||
|
[dependencies.tracing-futures]
|
||
|
version = "0.2.3"
|
||
|
default-features = false
|
||
|
features = ["std", "std-future"]
|
||
|
|
||
|
[dependencies.tokio]
|
||
|
version = "0.2.16"
|
||
|
default-features = false
|
||
|
features = ["sync", "time"]
|
||
|
|
||
|
[dependencies.sqlx]
|
||
|
version = "0.3.3"
|
||
|
optional = true
|
||
|
default-features = false
|
||
|
features = ["runtime-tokio", "sqlite"]
|
||
|
|
||
|
[dev-dependencies]
|
||
|
tokio = { version = "0.2.16", features = ["rt-threaded", "macros"] }
|
||
|
ruma-identifiers = { version = "0.16.0", features = ["rand"] }
|
||
|
serde_json = "1.0.51"
|
||
|
tempfile = "3.1.0"
|
||
|
http = "*"
|