Introduce the unstable-synapse-quirks feature in ruma-events

This commit is contained in:
Alejandro Domínguez 2020-11-20 02:40:29 +01:00 committed by Jonas Platte
parent 51573238a9
commit 872701dc83
7 changed files with 10 additions and 1 deletions

View File

@ -21,3 +21,4 @@ serde_json = "1.0.57"
[features]
unstable-exhaustive-types = []
unstable-synapse-quirks = ["ruma-events/unstable-synapse-quirks"]

View File

@ -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",
]

View File

@ -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"]

View File

@ -31,6 +31,7 @@ trybuild = "1.0.31"
[features]
unstable-exhaustive-types = []
unstable-pre-spec = []
unstable-synapse-quirks = []
[[bench]]
name = "event_deserialize"

View File

@ -31,3 +31,4 @@ matches = "0.1.8"
[features]
unstable-exhaustive-types = []
unstable-pre-spec = []
unstable-synapse-quirks = ["ruma-events/unstable-synapse-quirks"]

View File

@ -22,3 +22,4 @@ serde_json = "1.0.57"
[features]
unstable-exhaustive-types = []
unstable-synapse-quirks = ["ruma-events/unstable-synapse-quirks"]

View File

@ -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"]