52 lines
1.5 KiB
TOML
52 lines
1.5 KiB
TOML
[package]
|
|
categories = ["api-bindings", "web-programming"]
|
|
description = "Types for the endpoints in the Matrix server-server API."
|
|
homepage = "https://ruma.dev/"
|
|
keywords = ["matrix", "chat", "messaging", "ruma"]
|
|
license = "MIT"
|
|
name = "ruma-federation-api"
|
|
readme = "README.md"
|
|
repository = "https://github.com/ruma/ruma"
|
|
version = "0.14.0"
|
|
edition = "2024"
|
|
rust-version = { workspace = true }
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[features]
|
|
# Allow the `pdus` field in a transaction request to be missing, defaulting to
|
|
# an empty `Vec` in deserialization.
|
|
compat-optional-txn-pdus = []
|
|
|
|
client = ["dep:httparse", "dep:memchr"]
|
|
server = ["dep:bytes", "dep:rand"]
|
|
unstable-msc3618 = []
|
|
unstable-msc3723 = []
|
|
unstable-msc3843 = ["ruma-common/unstable-msc3843"]
|
|
unstable-msc4125 = []
|
|
unstable-msc4373 = []
|
|
|
|
[dependencies]
|
|
bytes = { workspace = true, optional = true }
|
|
headers = "0.4.0"
|
|
http = { workspace = true }
|
|
http-auth = { version = "0.1.9", default-features = false }
|
|
httparse = { version = "1.9.0", optional = true }
|
|
js_int = { workspace = true, features = ["serde"] }
|
|
memchr = { version = "2.7.0", optional = true }
|
|
mime = { version = "0.3.0" }
|
|
rand = { workspace = true, optional = true }
|
|
ruma-common = { workspace = true, features = ["api"] }
|
|
ruma-events = { workspace = true }
|
|
ruma-signatures = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
assert_matches2 = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|