2021-04-29 11:28:08 +00:00
|
|
|
[package]
|
|
|
|
authors = ["Johannes Becker <j.becker@famedly.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
|
|
|
|
keywords = ["matrix", "chat", "messaging", "ruma", "nio", "appservice"]
|
|
|
|
license = "Apache-2.0"
|
|
|
|
name = "matrix-sdk-appservice"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
|
|
|
[features]
|
2021-06-09 20:14:41 +00:00
|
|
|
default = ["warp"]
|
2021-04-29 11:28:08 +00:00
|
|
|
actix = ["actix-rt", "actix-web"]
|
|
|
|
|
2021-06-03 16:20:07 +00:00
|
|
|
docs = ["actix", "warp"]
|
2021-04-29 11:28:08 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
actix-rt = { version = "2", optional = true }
|
|
|
|
actix-web = { version = "4.0.0-beta.6", optional = true }
|
2021-05-26 12:00:59 +00:00
|
|
|
dashmap = "4"
|
2021-04-29 11:28:08 +00:00
|
|
|
futures = "0.3"
|
|
|
|
futures-util = "0.3"
|
|
|
|
http = "0.2"
|
|
|
|
regex = "1"
|
2021-06-03 16:20:07 +00:00
|
|
|
serde = "1"
|
|
|
|
serde_json = "1"
|
2021-04-29 11:28:08 +00:00
|
|
|
serde_yaml = "0.8"
|
|
|
|
thiserror = "1.0"
|
|
|
|
tracing = "0.1"
|
|
|
|
url = "2"
|
2021-06-09 20:14:41 +00:00
|
|
|
warp = { git = "https://github.com/seanmonstar/warp.git", rev = "629405", optional = true, default-features = false }
|
2021-04-29 11:28:08 +00:00
|
|
|
|
|
|
|
matrix-sdk = { version = "0.2", path = "../matrix_sdk", default-features = false, features = ["appservice", "native-tls"] }
|
|
|
|
|
2021-06-07 14:58:29 +00:00
|
|
|
[dependencies.ruma]
|
|
|
|
version = "0.1.2"
|
|
|
|
features = ["client-api-c", "appservice-api-s", "unstable-pre-spec"]
|
|
|
|
|
2021-04-29 11:28:08 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
env_logger = "0.8"
|
|
|
|
mockito = "0.30"
|
|
|
|
tokio = { version = "1", default-features = false, features = ["rt-multi-thread", "macros"] }
|
|
|
|
tracing-subscriber = "0.2"
|
|
|
|
|
2021-06-04 12:16:24 +00:00
|
|
|
matrix-sdk-test = { version = "0.2", path = "../matrix_sdk_test", features = ["appservice"] }
|
2021-04-29 11:28:08 +00:00
|
|
|
|
|
|
|
[[example]]
|
2021-06-09 20:57:10 +00:00
|
|
|
name = "appservice_autojoin"
|
2021-06-08 05:28:04 +00:00
|
|
|
required-features = ["warp"]
|