From eefaa014031c9fc547e2b6148373332db57ee126 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 5 Jun 2020 18:12:40 +0200 Subject: [PATCH] Expose ruma-identifiers features --- ruma/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ruma/Cargo.toml b/ruma/Cargo.toml index c73a525c..0c1cbb8a 100644 --- a/ruma/Cargo.toml +++ b/ruma/Cargo.toml @@ -13,13 +13,16 @@ version = "0.1.0" edition = "2018" [features] +either = ["ruma-identifiers/either"] +rand = ["ruma-identifiers/rand"] + appservice-api = ["ruma-api", "ruma-appservice-api", "ruma-events"] client-api = ["ruma-api", "ruma-client-api", "ruma-events"] federation-api = ["ruma-api", "ruma-federation-api", "ruma-signatures"] [dependencies] ruma-common = { version = "0.1.3", path = "../ruma-common" } -ruma-identifiers = "0.16.2" +ruma-identifiers = { version = "0.16.2", features = ["serde"] } ruma-events = { git = "https://github.com/ruma/ruma-events", rev = "c1ee72d", optional = true } ruma-signatures = { version = "0.6.0-dev.1", path = "../ruma-signatures", optional = true }