From 36f5979c0e7e19a35472c6cf3a3d779159ad637e Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov Date: Mon, 21 Aug 2023 16:58:44 +0300 Subject: [PATCH] Return default features to avoid having different features snapshot --- crates/crypto-utils-evm/Cargo.toml | 4 ++-- crates/eip712-common-test-utils/Cargo.toml | 2 +- crates/humanode-peer/Cargo.toml | 6 +++--- crates/humanode-runtime/Cargo.toml | 4 ++-- crates/pallet-currency-swap/Cargo.toml | 6 +++--- crates/precompile-currency-swap/Cargo.toml | 12 ++++++------ crates/vesting-schedule-linear/Cargo.toml | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/crates/crypto-utils-evm/Cargo.toml b/crates/crypto-utils-evm/Cargo.toml index e2d203ad0..739df6287 100644 --- a/crates/crypto-utils-evm/Cargo.toml +++ b/crates/crypto-utils-evm/Cargo.toml @@ -6,9 +6,9 @@ publish = false [dependencies] anyhow = { workspace = true } -bip32 = { workspace = true } +bip32 = { workspace = true, features = ["default"] } libsecp256k1 = { workspace = true } -sha3 = { workspace = true } +sha3 = { workspace = true, features = ["default"] } sp-core = { workspace = true } thiserror = { workspace = true } tiny-bip39 = { workspace = true } diff --git a/crates/eip712-common-test-utils/Cargo.toml b/crates/eip712-common-test-utils/Cargo.toml index a5edb1ee8..8c15b8a60 100644 --- a/crates/eip712-common-test-utils/Cargo.toml +++ b/crates/eip712-common-test-utils/Cargo.toml @@ -10,6 +10,6 @@ primitives-ethereum = { path = "../primitives-ethereum" } ethers-core = { workspace = true, features = ["eip712"] } hex-literal = { workspace = true } -secp256k1 = { workspace = true } +secp256k1 = { workspace = true, features = ["default"] } serde_json = { workspace = true } sp-core = { workspace = true } diff --git a/crates/humanode-peer/Cargo.toml b/crates/humanode-peer/Cargo.toml index dadd33a70..929cfb658 100644 --- a/crates/humanode-peer/Cargo.toml +++ b/crates/humanode-peer/Cargo.toml @@ -33,9 +33,9 @@ fc-rpc = { workspace = true } fc-rpc-core = { workspace = true } fc-storage = { workspace = true } fdlimit = { workspace = true } -fp-evm = { workspace = true } +fp-evm = { workspace = true, features = ["default"] } frame-benchmarking = { workspace = true, optional = true } -frame-benchmarking-cli = { workspace = true } +frame-benchmarking-cli = { workspace = true, features = ["default", "rocksdb"] } frame-support = { workspace = true } frame-system = { workspace = true } frame-system-rpc-runtime-api = { workspace = true } @@ -43,7 +43,7 @@ futures = { workspace = true } hex = { workspace = true } hex-literal = { workspace = true } pallet-balances = { workspace = true } -pallet-im-online = { workspace = true } +pallet-im-online = { workspace = true, features = ["default"] } pallet-transaction-payment = { workspace = true } qr2term = { workspace = true } reqwest = { workspace = true, features = ["default"] } diff --git a/crates/humanode-runtime/Cargo.toml b/crates/humanode-runtime/Cargo.toml index 0d203ae4e..d7d336b49 100644 --- a/crates/humanode-runtime/Cargo.toml +++ b/crates/humanode-runtime/Cargo.toml @@ -96,8 +96,9 @@ static_assertions = { workspace = true } crypto-utils = { path = "../crypto-utils" } eip712-common-test-utils = { path = "../eip712-common-test-utils" } -ethereum = { workspace = true } +ethereum = { workspace = true, features = ["default"] } hex = { workspace = true } +hex-literal = { workspace = true } serde_json = { workspace = true } sp-io = { workspace = true } sp-keystore = { workspace = true } @@ -152,7 +153,6 @@ std = [ "frame-system/std", "frame-try-runtime/std", "hex/std", - "hex-literal", "keystore-bioauth-account-id/std", "libsecp256k1/std", "pallet-authorship/std", diff --git a/crates/pallet-currency-swap/Cargo.toml b/crates/pallet-currency-swap/Cargo.toml index df1c2f310..2ac095153 100644 --- a/crates/pallet-currency-swap/Cargo.toml +++ b/crates/pallet-currency-swap/Cargo.toml @@ -17,9 +17,9 @@ sp-std = { workspace = true, default-features = false } [dev-dependencies] mockall = { workspace = true } -pallet-balances = { workspace = true } -pallet-evm-balances = { workspace = true } -pallet-evm-system = { workspace = true } +pallet-balances = { workspace = true, features = ["default"] } +pallet-evm-balances = { workspace = true, features = ["default"] } +pallet-evm-system = { workspace = true, features = ["default"] } sp-core = { workspace = true } [features] diff --git a/crates/precompile-currency-swap/Cargo.toml b/crates/precompile-currency-swap/Cargo.toml index 3d10566ae..07e145c37 100644 --- a/crates/precompile-currency-swap/Cargo.toml +++ b/crates/precompile-currency-swap/Cargo.toml @@ -17,14 +17,14 @@ scale-info = { workspace = true, default-features = false, features = ["derive"] sp-core = { workspace = true, default-features = false } [dev-dependencies] -frame-system = { workspace = true, default-features = false } +frame-system = { workspace = true } hex-literal = { workspace = true } mockall = { workspace = true } -pallet-balances = { workspace = true, default-features = false } -pallet-evm = { workspace = true, default-features = false } -pallet-evm-balances = { workspace = true, default-features = false } -pallet-evm-system = { workspace = true, default-features = false } -pallet-timestamp = { workspace = true, default-features = false } +pallet-balances = { workspace = true, features = ["default"] } +pallet-evm = { workspace = true } +pallet-evm-balances = { workspace = true, features = ["default"] } +pallet-evm-system = { workspace = true, features = ["default"] } +pallet-timestamp = { workspace = true, features = ["default"] } [features] default = ["std"] diff --git a/crates/vesting-schedule-linear/Cargo.toml b/crates/vesting-schedule-linear/Cargo.toml index 008f71266..a4d7410e5 100644 --- a/crates/vesting-schedule-linear/Cargo.toml +++ b/crates/vesting-schedule-linear/Cargo.toml @@ -11,7 +11,7 @@ scale-info = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"], optional = true } [dev-dependencies] -num = { workspace = true } +num = { workspace = true, features = ["default"] } serde_json = { workspace = true } [features]