Kévin Commaille f78d3480a5 events: Add support for extensible text event
As defined in MSC1767
2022-03-02 18:09:43 +01:00

54 lines
1.5 KiB
TOML

[package]
categories = ["api-bindings"]
description = "Serializable types for the events in the Matrix specification."
homepage = "https://www.ruma.io/"
keywords = ["matrix", "chat", "messaging", "ruma"]
license = "MIT"
name = "ruma-events"
readme = "README.md"
repository = "https://github.com/ruma/ruma"
version = "0.26.0"
edition = "2018"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
compat = ["ruma-macros/compat"]
markdown = ["pulldown-cmark"]
unstable-exhaustive-types = []
unstable-pdu = []
unstable-pre-spec = []
unstable-msc1767 = []
unstable-msc2448 = []
unstable-msc2675 = []
unstable-msc2676 = []
unstable-msc2677 = []
[dependencies]
criterion = { version = "0.3.3", optional = true }
indoc = "1.0"
js_int = { version = "0.2.0", features = ["serde"] }
pulldown-cmark = { version = "0.8", default-features = false, optional = true }
ruma-common = { version = "0.8.0", path = "../ruma-common" }
ruma-identifiers = { version = "0.22.0", path = "../ruma-identifiers", features = ["serde"] }
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 = { version = "1.0.60", features = ["raw_value"] }
thiserror = "1.0.26"
wildmatch = "2.0.0"
[dev-dependencies]
assign = "1.1.1"
maplit = "1.0.2"
matches = "0.1.8"
ruma-identifiers = { version = "0.22.0", path = "../ruma-identifiers", features = ["rand"] }
trybuild = "1.0.38"
[[bench]]
name = "event_deserialize"
harness = false