ruwuma/crates/ruma-api/Cargo.toml
2022-03-02 15:19:16 +01:00

40 lines
1.1 KiB
TOML

[package]
categories = ["api-bindings", "web-programming"]
description = "An abstraction for Matrix API endpoints."
homepage = "https://www.ruma.io/"
keywords = ["matrix", "chat", "messaging", "ruma"]
license = "MIT"
name = "ruma-api"
readme = "README.md"
repository = "https://github.com/ruma/ruma"
version = "0.20.0"
edition = "2018"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
# These feature gates exist only for the tests. Disabling them results in a
# compile error.
[features]
default = ["client", "server"]
client = []
server = []
[dependencies]
bytes = "1.0.1"
http = "0.2.2"
percent-encoding = "2.1.0"
ruma-identifiers = { version = "0.22.0", path = "../ruma-identifiers" }
ruma-macros = { version = "=0.1.0", path = "../ruma-macros" }
ruma-serde = { version = "0.6.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61"
thiserror = "1.0.26"
tracing = "0.1.25"
[dev-dependencies]
matches = "0.1.8"
ruma-events = { version = "0.26.0", path = "../ruma-events" }
trybuild = "1.0.38"