From 9f7c9d7ac8e038d1771b0c4d4aae0a5e659606ea Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov Date: Mon, 8 May 2023 19:07:33 +0300 Subject: [PATCH] Fix features --- crates/eip191-crypto/Cargo.toml | 2 +- crates/eip712-common/Cargo.toml | 2 +- crates/humanode-runtime/Cargo.toml | 7 ++++++- crates/pallet-bioauth/Cargo.toml | 2 +- crates/pallet-bootnodes/Cargo.toml | 2 +- crates/pallet-chain-start-moment/Cargo.toml | 2 +- crates/pallet-evm-accounts-mapping/Cargo.toml | 2 ++ crates/pallet-pot/Cargo.toml | 10 +++++++++- crates/pallet-token-claims/Cargo.toml | 6 +++++- crates/pallet-vesting/Cargo.toml | 5 ++++- crates/precompile-bioauth/Cargo.toml | 2 +- crates/primitives-auth-ticket/Cargo.toml | 2 +- crates/primitives-ethereum/Cargo.toml | 10 +++++++++- crates/robonode-crypto/Cargo.toml | 2 +- crates/vesting-schedule-linear/Cargo.toml | 2 +- crates/vesting-scheduling-timestamp/Cargo.toml | 9 ++++++++- 16 files changed, 52 insertions(+), 15 deletions(-) diff --git a/crates/eip191-crypto/Cargo.toml b/crates/eip191-crypto/Cargo.toml index 7850aac50..c1d51da62 100644 --- a/crates/eip191-crypto/Cargo.toml +++ b/crates/eip191-crypto/Cargo.toml @@ -17,4 +17,4 @@ hex = { workspace = true } [features] default = ["std"] -std = ["primitives-ethereum/std", "sp-io/std", "sp-std/std"] +std = ["hex/std", "primitives-ethereum/std", "sp-io/std", "sp-std/std"] diff --git a/crates/eip712-common/Cargo.toml b/crates/eip712-common/Cargo.toml index 88bb3cd2c..c25cec94a 100644 --- a/crates/eip712-common/Cargo.toml +++ b/crates/eip712-common/Cargo.toml @@ -17,4 +17,4 @@ sp-core = { workspace = true } [features] default = ["std"] -std = ["primitives-ethereum/std", "sp-io/std", "sp-std/std"] +std = ["primitives-ethereum/std", "sp-core/std", "sp-io/std", "sp-std/std"] diff --git a/crates/humanode-runtime/Cargo.toml b/crates/humanode-runtime/Cargo.toml index cbfd48040..0d203ae4e 100644 --- a/crates/humanode-runtime/Cargo.toml +++ b/crates/humanode-runtime/Cargo.toml @@ -151,6 +151,8 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime/std", + "hex/std", + "hex-literal", "keystore-bioauth-account-id/std", "libsecp256k1/std", "pallet-authorship/std", @@ -194,13 +196,16 @@ std = [ "primitives-ethereum/std", "robonode-crypto/std", "scale-info/std", - "serde", + "serde/std", + "serde_json/std", "sp-api/std", "sp-application-crypto/std", "sp-block-builder/std", "sp-consensus-babe/std", "sp-core/std", "sp-inherents/std", + "sp-io/std", + "sp-keystore/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", diff --git a/crates/pallet-bioauth/Cargo.toml b/crates/pallet-bioauth/Cargo.toml index bdd93d1a1..eb364aa68 100644 --- a/crates/pallet-bioauth/Cargo.toml +++ b/crates/pallet-bioauth/Cargo.toml @@ -37,7 +37,7 @@ std = [ "frame-support/std", "frame-system/std", "scale-info/std", - "serde", + "serde/std", "sp-api/std", "sp-core/std", "sp-io/std", diff --git a/crates/pallet-bootnodes/Cargo.toml b/crates/pallet-bootnodes/Cargo.toml index c479180b9..9a4574495 100644 --- a/crates/pallet-bootnodes/Cargo.toml +++ b/crates/pallet-bootnodes/Cargo.toml @@ -34,7 +34,7 @@ std = [ "frame-support/std", "frame-system/std", "scale-info/std", - "serde", + "serde/std", "sp-api/std", "sp-core/std", "sp-io/std", diff --git a/crates/pallet-chain-start-moment/Cargo.toml b/crates/pallet-chain-start-moment/Cargo.toml index e4a32ae45..79fac57aa 100644 --- a/crates/pallet-chain-start-moment/Cargo.toml +++ b/crates/pallet-chain-start-moment/Cargo.toml @@ -16,5 +16,5 @@ sp-core = { workspace = true } [features] default = ["std"] -std = ["codec/std", "scale-info/std", "frame-support/std", "frame-system/std"] +std = ["codec/std", "frame-system/std", "frame-support/std", "pallet-timestamp/std", "scale-info/std", "sp-core/std"] try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime", "pallet-timestamp/try-runtime"] diff --git a/crates/pallet-evm-accounts-mapping/Cargo.toml b/crates/pallet-evm-accounts-mapping/Cargo.toml index 506abfd60..1caac83a4 100644 --- a/crates/pallet-evm-accounts-mapping/Cargo.toml +++ b/crates/pallet-evm-accounts-mapping/Cargo.toml @@ -34,6 +34,8 @@ std = [ "frame-system/std", "primitives-ethereum/std", "scale-info/std", + "sp-core/std", + "sp-runtime/std", "sp-std/std", ] try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime", "sp-runtime/try-runtime"] diff --git a/crates/pallet-pot/Cargo.toml b/crates/pallet-pot/Cargo.toml index e9b084044..5b6fb3fd3 100644 --- a/crates/pallet-pot/Cargo.toml +++ b/crates/pallet-pot/Cargo.toml @@ -15,5 +15,13 @@ sp-std = { workspace = true } [features] default = ["std"] -std = ["codec/std", "frame-support/std", "frame-system/std", "scale-info/std", "serde", "sp-runtime/std", "sp-std/std"] +std = [ + "codec/std", + "frame-support/std", + "frame-system/std", + "scale-info/std", + "serde/std", + "sp-runtime/std", + "sp-std/std", +] try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime", "sp-runtime/try-runtime"] diff --git a/crates/pallet-token-claims/Cargo.toml b/crates/pallet-token-claims/Cargo.toml index 66dbed1b0..82077c449 100644 --- a/crates/pallet-token-claims/Cargo.toml +++ b/crates/pallet-token-claims/Cargo.toml @@ -37,9 +37,13 @@ std = [ "frame-benchmarking/std", "frame-support/std", "frame-system/std", + "pallet-balances/std", "primitives-ethereum/std", "scale-info/std", - "serde", + "serde/std", + "serde_json/std", + "sp-core/std", + "sp-runtime/std", ] try-runtime = [ "frame-support/try-runtime", diff --git a/crates/pallet-vesting/Cargo.toml b/crates/pallet-vesting/Cargo.toml index d9e5cf9c1..85b403128 100644 --- a/crates/pallet-vesting/Cargo.toml +++ b/crates/pallet-vesting/Cargo.toml @@ -32,8 +32,11 @@ std = [ "frame-benchmarking/std", "frame-support/std", "frame-system/std", + "once_cell/std", + "pallet-balances/std", "scale-info/std", - "serde", + "serde/std", "sp-api/std", + "sp-core/std", ] try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime", "pallet-balances/try-runtime"] diff --git a/crates/precompile-bioauth/Cargo.toml b/crates/precompile-bioauth/Cargo.toml index 0f38c097a..0fb9b1b4e 100644 --- a/crates/precompile-bioauth/Cargo.toml +++ b/crates/precompile-bioauth/Cargo.toml @@ -38,7 +38,7 @@ std = [ "pallet-evm/std", "precompile-utils/std", "scale-info/std", - "serde", + "serde/std", "sp-core/std", "sp-io/std", "sp-runtime/std", diff --git a/crates/primitives-auth-ticket/Cargo.toml b/crates/primitives-auth-ticket/Cargo.toml index 1e55de56d..3ef6e527b 100644 --- a/crates/primitives-auth-ticket/Cargo.toml +++ b/crates/primitives-auth-ticket/Cargo.toml @@ -12,4 +12,4 @@ sp-std = { workspace = true } [features] default = ["std"] -std = ["serde", "codec/std", "sp-std/std", "scale-info/std"] +std = ["serde/std", "codec/std", "sp-std/std", "scale-info/std"] diff --git a/crates/primitives-ethereum/Cargo.toml b/crates/primitives-ethereum/Cargo.toml index ac680fc42..3e0cb5821 100644 --- a/crates/primitives-ethereum/Cargo.toml +++ b/crates/primitives-ethereum/Cargo.toml @@ -17,4 +17,12 @@ serde_json = { workspace = true } [features] default = ["std"] -std = ["codec/std", "frame-support/std", "frame-system/std", "rustc-hex/std", "scale-info/std", "serde"] +std = [ + "codec/std", + "frame-support/std", + "frame-system/std", + "rustc-hex/std", + "scale-info/std", + "serde/std", + "serde_json/std", +] diff --git a/crates/robonode-crypto/Cargo.toml b/crates/robonode-crypto/Cargo.toml index 2866d9883..5265aa24f 100644 --- a/crates/robonode-crypto/Cargo.toml +++ b/crates/robonode-crypto/Cargo.toml @@ -13,4 +13,4 @@ rand = { workspace = true } [features] default = ["std"] -std = ["ed25519-dalek/std"] +std = ["ed25519-dalek/std", "rand/std"] diff --git a/crates/vesting-schedule-linear/Cargo.toml b/crates/vesting-schedule-linear/Cargo.toml index 8d22483b2..008f71266 100644 --- a/crates/vesting-schedule-linear/Cargo.toml +++ b/crates/vesting-schedule-linear/Cargo.toml @@ -16,4 +16,4 @@ serde_json = { workspace = true } [features] default = ["std"] -std = ["codec/std", "num-traits/std", "scale-info/std", "serde"] +std = ["codec/std", "num/std", "num-traits/std", "scale-info/std", "serde/std", "serde_json/std"] diff --git a/crates/vesting-scheduling-timestamp/Cargo.toml b/crates/vesting-scheduling-timestamp/Cargo.toml index df957067e..ff818b589 100644 --- a/crates/vesting-scheduling-timestamp/Cargo.toml +++ b/crates/vesting-scheduling-timestamp/Cargo.toml @@ -18,4 +18,11 @@ serde_json = { workspace = true } [features] default = ["std"] -std = ["frame-support/std", "num-traits/std", "pallet-vesting/std", "serde", "vesting-schedule-linear/std"] +std = [ + "frame-support/std", + "num-traits/std", + "pallet-vesting/std", + "serde/std", + "serde_json/std", + "vesting-schedule-linear/std", +]