From 872701dc83ae3deef485d80ea7cc591a7dc5dfd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Dom=C3=ADnguez?= Date: Fri, 20 Nov 2020 02:40:29 +0100 Subject: [PATCH] Introduce the unstable-synapse-quirks feature in ruma-events --- ruma-appservice-api/Cargo.toml | 1 + ruma-client-api/Cargo.toml | 5 ++++- ruma-client/Cargo.toml | 1 + ruma-events/Cargo.toml | 1 + ruma-federation-api/Cargo.toml | 1 + ruma-push-gateway-api/Cargo.toml | 1 + ruma/Cargo.toml | 1 + 7 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ruma-appservice-api/Cargo.toml b/ruma-appservice-api/Cargo.toml index 1e1879ba..6c33b28d 100644 --- a/ruma-appservice-api/Cargo.toml +++ b/ruma-appservice-api/Cargo.toml @@ -21,3 +21,4 @@ serde_json = "1.0.57" [features] unstable-exhaustive-types = [] +unstable-synapse-quirks = ["ruma-events/unstable-synapse-quirks"] diff --git a/ruma-client-api/Cargo.toml b/ruma-client-api/Cargo.toml index f1d43e41..31f15b0a 100644 --- a/ruma-client-api/Cargo.toml +++ b/ruma-client-api/Cargo.toml @@ -37,4 +37,7 @@ matches = "0.1.8" [features] unstable-exhaustive-types = [] unstable-pre-spec = [] -unstable-synapse-quirks = ["ruma-common/unstable-synapse-quirks"] +unstable-synapse-quirks = [ + "ruma-common/unstable-synapse-quirks", + "ruma-events/unstable-synapse-quirks", +] diff --git a/ruma-client/Cargo.toml b/ruma-client/Cargo.toml index a5318e68..cfb03c0d 100644 --- a/ruma-client/Cargo.toml +++ b/ruma-client/Cargo.toml @@ -39,3 +39,4 @@ tokio = { version = "0.2.22", features = ["macros"] } [features] default = ["tls"] tls = ["hyper-tls"] +unstable-synapse-quirks = ["ruma-events/unstable-synapse-quirks"] diff --git a/ruma-events/Cargo.toml b/ruma-events/Cargo.toml index decbdb5d..9dc13685 100644 --- a/ruma-events/Cargo.toml +++ b/ruma-events/Cargo.toml @@ -31,6 +31,7 @@ trybuild = "1.0.31" [features] unstable-exhaustive-types = [] unstable-pre-spec = [] +unstable-synapse-quirks = [] [[bench]] name = "event_deserialize" diff --git a/ruma-federation-api/Cargo.toml b/ruma-federation-api/Cargo.toml index 901d9299..ffd27cd8 100644 --- a/ruma-federation-api/Cargo.toml +++ b/ruma-federation-api/Cargo.toml @@ -31,3 +31,4 @@ matches = "0.1.8" [features] unstable-exhaustive-types = [] unstable-pre-spec = [] +unstable-synapse-quirks = ["ruma-events/unstable-synapse-quirks"] diff --git a/ruma-push-gateway-api/Cargo.toml b/ruma-push-gateway-api/Cargo.toml index f4c9490c..c63b28e1 100644 --- a/ruma-push-gateway-api/Cargo.toml +++ b/ruma-push-gateway-api/Cargo.toml @@ -22,3 +22,4 @@ serde_json = "1.0.57" [features] unstable-exhaustive-types = [] +unstable-synapse-quirks = ["ruma-events/unstable-synapse-quirks"] diff --git a/ruma/Cargo.toml b/ruma/Cargo.toml index 6fbfd68e..e596dcdc 100644 --- a/ruma/Cargo.toml +++ b/ruma/Cargo.toml @@ -26,6 +26,7 @@ unstable-pre-spec = ["ruma-client-api/unstable-pre-spec", "ruma-events/unstable- unstable-synapse-quirks = [ "ruma-client-api/unstable-synapse-quirks", "ruma-common/unstable-synapse-quirks", + "ruma-events/unstable-synapse-quirks", ] appservice-api = ["ruma-api", "ruma-appservice-api", "ruma-events"]