40 lines
1.1 KiB
TOML
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.18.5"
|
|
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-api-macros = { version = "=0.18.5", path = "../ruma-api-macros" }
|
|
ruma-identifiers = { version = "0.20.0", path = "../ruma-identifiers" }
|
|
ruma-serde = { version = "0.5.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.24.6", path = "../ruma-events" }
|
|
trybuild = "1.0.38"
|