Skip to content

Commit

Permalink
Fix features
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylavrenov committed May 8, 2023
1 parent b1704c4 commit 88f7ca4
Show file tree
Hide file tree
Showing 16 changed files with 51 additions and 15 deletions.
2 changes: 1 addition & 1 deletion crates/eip191-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion crates/eip712-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
6 changes: 5 additions & 1 deletion crates/humanode-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ std = [
"frame-system-rpc-runtime-api/std",
"frame-system/std",
"frame-try-runtime/std",
"hex/std",
"keystore-bioauth-account-id/std",
"libsecp256k1/std",
"pallet-authorship/std",
Expand Down Expand Up @@ -177,13 +178,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",
Expand Down
2 changes: 1 addition & 1 deletion crates/pallet-bioauth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion crates/pallet-bootnodes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion crates/pallet-chain-start-moment/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 2 additions & 0 deletions crates/pallet-evm-accounts-mapping/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
10 changes: 9 additions & 1 deletion crates/pallet-pot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
6 changes: 5 additions & 1 deletion crates/pallet-token-claims/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 4 additions & 1 deletion crates/pallet-vesting/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion crates/precompile-bioauth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion crates/primitives-auth-ticket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
10 changes: 9 additions & 1 deletion crates/primitives-ethereum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
2 changes: 1 addition & 1 deletion crates/robonode-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ rand = { workspace = true }

[features]
default = ["std"]
std = ["ed25519-dalek/std"]
std = ["ed25519-dalek/std", "rand/std"]
2 changes: 1 addition & 1 deletion crates/vesting-schedule-linear/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
9 changes: 8 additions & 1 deletion crates/vesting-scheduling-timestamp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]

0 comments on commit 88f7ca4

Please sign in to comment.