matrix-rust-sdk/Cargo.toml

54 lines
1.5 KiB
TOML
Raw Normal View History

2019-10-20 11:56:46 +00:00
[package]
authors = ["Damir Jelić <poljar@termina.org.uk"]
2020-02-21 16:01:34 +00:00
description = "A high level Matrix client-server library."
2019-10-20 11:56:46 +00:00
edition = "2018"
2020-02-21 16:01:34 +00:00
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
2019-10-20 11:56:46 +00:00
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
license = "MIT"
2020-02-21 16:01:34 +00:00
name = "matrix-sdk"
2019-10-20 11:56:46 +00:00
readme = "README.md"
2020-02-21 16:01:34 +00:00
repository = "https://github.com/matrix-org/matrix-rust-sdk"
2019-10-20 11:56:46 +00:00
version = "0.1.0"
2020-02-24 16:19:00 +00:00
[features]
default = []
2020-03-18 08:41:49 +00:00
encryption = ["olm-rs", "serde/derive", "serde_json", "cjson", "async-trait"]
sqlite-cryptostore = ["sqlx", "zeroize"]
2020-02-24 16:19:00 +00:00
2019-10-20 11:56:46 +00:00
[dependencies]
futures = "0.3.4"
reqwest = "0.10.4"
2020-01-11 12:13:30 +00:00
http = "0.2.0"
2020-03-18 09:56:26 +00:00
url = "2.1.1"
js_int = "0.1.3"
2020-03-14 09:28:46 +00:00
ruma-api = "0.14.0"
ruma-client-api = { version = "0.6.0", git = "https://github.com/matrix-org/ruma-client-api/" }
ruma-events = "0.17.0"
2020-01-11 12:13:30 +00:00
ruma-identifiers = "0.14.1"
2020-03-18 09:56:26 +00:00
thiserror = "1.0.11"
zeroize = { version = "1.1.0", optional = true }
async-trait = { version = "0.1.24", optional = true }
2019-10-20 11:56:46 +00:00
2020-03-18 08:41:49 +00:00
olm-rs = { path = "/home/poljar/werk/matrix/olm-rs", optional = true, features = ["serde"]}
2020-02-24 16:19:00 +00:00
serde = { version = "1.0.104", optional = true, features = ["derive"] }
serde_json = { version = "1.0.48", optional = true }
cjson = { version = "0.1.0", optional = true }
2020-03-18 09:56:26 +00:00
[dependencies.tokio]
version = "0.2.13"
default-features = false
features = ["sync", "time"]
2020-03-18 08:41:49 +00:00
[dependencies.sqlx]
git = "https://github.com/launchbadge/sqlx/"
optional = true
default-features = false
features = ["runtime-tokio", "sqlite"]
2019-10-20 11:56:46 +00:00
[dev-dependencies]
tokio = { version = "0.2.13", features = ["rt-threaded", "macros"] }
2020-03-18 08:41:49 +00:00
tempfile = "3.1.0"
mockito = "0.23.3"