From 2967ab5942c8d130996513b2eaa437a2cd90e47c Mon Sep 17 00:00:00 2001 From: Aleksandr Date: Tue, 29 Mar 2022 15:18:47 +0400 Subject: [PATCH] [fix] #1969: Make the `roles` feature part of the default feature set. Signed-off-by: Aleksandr Petrosyan --- client/Cargo.toml | 2 +- core/Cargo.toml | 2 +- data_model/Cargo.toml | 2 +- schema/bin/Cargo.toml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/Cargo.toml b/client/Cargo.toml index 3f2fb0da84..5745e267bc 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -19,7 +19,7 @@ maintenance = { status = "actively-developed" } [dependencies] iroha_config = { version = "=2.0.0-pre-rc.3", path = "../config" } iroha_crypto = { version = "=2.0.0-pre-rc.3", path = "../crypto"} -iroha_data_model = { version = "=2.0.0-pre-rc.3", path = "../data_model", features = ["warp"] } +iroha_data_model = { version = "=2.0.0-pre-rc.3", path = "../data_model", features = ["warp", "roles"] } iroha_logger = { version = "=2.0.0-pre-rc.3", path = "../logger"} iroha_telemetry = { version ="=2.0.0-pre-rc.3", path = "../telemetry" } iroha_version = { version = "=2.0.0-pre-rc.3", path = "../version" } diff --git a/core/Cargo.toml b/core/Cargo.toml index 8ca90864ea..0e2d6f8587 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -20,7 +20,7 @@ cli = [] cross_crate_testing = [] dev-telemetry = ["telemetry", "iroha_telemetry/dev-telemetry"] expensive-telemetry = ["iroha_telemetry/metric-instrumentation"] -default = ["bridge", "cli", "telemetry"] +default = ["bridge", "cli", "telemetry", "roles"] [badges] is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger/iroha" } diff --git a/data_model/Cargo.toml b/data_model/Cargo.toml index 3cc2f23c7f..d0a430ebda 100644 --- a/data_model/Cargo.toml +++ b/data_model/Cargo.toml @@ -17,7 +17,7 @@ is-it-maintained-open-issues = { repository = "https://github.com/hyperledger/ir maintenance = { status = "actively-developed" } [features] -default = ["std"] +default = ["std", "roles"] std = ["iroha_macro/std", "iroha_version/std", "iroha_version/warp", "iroha_crypto/std", "iroha_data_primitives/std", "thiserror"] # https://github.com/rust-lang/cargo/issues/6915 roles = [] diff --git a/schema/bin/Cargo.toml b/schema/bin/Cargo.toml index f9500c971f..cded71f56d 100644 --- a/schema/bin/Cargo.toml +++ b/schema/bin/Cargo.toml @@ -6,8 +6,8 @@ edition = "2021" [dependencies] -iroha_data_model = { version = "=2.0.0-pre-rc.3", path = "../../data_model" } +iroha_data_model = { version = "=2.0.0-pre-rc.3", path = "../../data_model", features = ["roles"] } iroha_schema = { version = "=2.0.0-pre-rc.3", path = "../../schema" } -iroha_core = { version = "=2.0.0-pre-rc.3", path = "../../core" } +iroha_core = { version = "=2.0.0-pre-rc.3", path = "../../core", features = ["roles"] } serde_json = "1"