Skip to content

Commit

Permalink
[fix] hyperledger#1969: Make the roles feature part of the default …
Browse files Browse the repository at this point in the history
…feature set.

Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
  • Loading branch information
appetrosyan committed Mar 29, 2022
1 parent b3fd9b9 commit 2967ab5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion data_model/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down
4 changes: 2 additions & 2 deletions schema/bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 2967ab5

Please sign in to comment.