Skip to content

Commit

Permalink
fmt and new zombie
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry-lahoda committed Sep 4, 2023
1 parent 09068ac commit a8bb0aa
Show file tree
Hide file tree
Showing 43 changed files with 673 additions and 682 deletions.
7 changes: 3 additions & 4 deletions code/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ color-eyre = { version = "0.5.11", default-features = false }
composable-node = { path = "parachain/node" }

[features]
builtin-wasm = [ "composable-node/builtin-wasm" ]
builtin-wasm = ["composable-node/builtin-wasm"]
local-integration-tests = []
picasso = []
runtime-benchmarks = [ "composable-node/runtime-benchmarks" ]
std = [ "composable-node/std" ]
runtime-benchmarks = ["composable-node/runtime-benchmarks"]
std = ["composable-node/std"]

[workspace.lints.rust]
unsafe = "deny"
Expand Down Expand Up @@ -357,7 +357,6 @@ parity-scale-codec = { version = "3.5.0", default-features = false }
orml-xcm-builder-kusama = { git = "https://github.com/open-web3-stack/orml-xcm-builder", branch = "polkadot-v0.9.43", default-features = false }



wasm-instrument = { version = "0.4.0", default-features = false }
wasmi = { version = "0.30.0", default-features = false }
wasmi-validation = { version = "0.5", default-features = false }
Expand Down
6 changes: 1 addition & 5 deletions code/integration-tests/local-integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ version = "0.1.0"
targets = ["x86_64-unknown-linux-gnu"]

[package.metadata.cargo-udeps.ignore]
normal = [
"currency-factory",
"oracle",
"session-benchmarking",
]
normal = ["currency-factory", "oracle", "session-benchmarking"]

[dependencies]
executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.36" }
Expand Down
36 changes: 18 additions & 18 deletions code/parachain/frame/assets-registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,26 @@ frame-benchmarking = { default-features = false, workspace = true }
pallet-balances = { workspace = true }

[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"composable-support/std",
"composable-traits/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"log/std",
"primitives/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"xcm/std",
"codec/std",
"composable-support/std",
"composable-traits/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"log/std",
"primitives/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"xcm/std",
]

runtime-benchmarks = [
"frame-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
]
34 changes: 17 additions & 17 deletions code/parachain/frame/assets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,24 @@ primitives = { path = "../../runtime/primitives", default-features = false }


[features]
default = [ "std" ]
default = ["std"]
runtime-benchmarks = [
"frame-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
]
std = [
"codec/std",
"composable-support/std",
"composable-tests-helpers/std",
"composable-traits/std",
"frame-benchmarking/std",
"frame-support/std",
"num-traits/std",
"orml-tokens/std",
"orml-traits/std",
"pallet-balances/std",
"primitives/std",
"sp-api/std",
"sp-runtime/std",
"codec/std",
"composable-support/std",
"composable-tests-helpers/std",
"composable-traits/std",
"frame-benchmarking/std",
"frame-support/std",
"num-traits/std",
"orml-tokens/std",
"orml-traits/std",
"pallet-balances/std",
"primitives/std",
"sp-api/std",
"sp-runtime/std",
]
8 changes: 4 additions & 4 deletions code/parachain/frame/assets/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ scale-info = { version = "2.1.1", default-features = false, features = [
jsonrpsee = { version = "0.16.2", features = ["server", "macros"] }

[features]
default = [ "std" ]
default = ["std"]
std = [
"assets-runtime-api/std",
"composable-support/std",
"composable-traits/std",
"assets-runtime-api/std",
"composable-support/std",
"composable-traits/std",
]
12 changes: 6 additions & 6 deletions code/parachain/frame/assets/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ sp-api = { default-features = false, workspace = true }
sp-std = { default-features = false, workspace = true }

[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"composable-support/std",
"composable-traits/std",
"sp-api/std",
"sp-std/std",
"codec/std",
"composable-support/std",
"composable-traits/std",
"sp-api/std",
"sp-std/std",
]
20 changes: 10 additions & 10 deletions code/parachain/frame/call-filter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ sp-core = { workspace = true }
sp-io = { workspace = true }

[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"serde",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"codec/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"serde",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
]
14 changes: 7 additions & 7 deletions code/parachain/frame/composable-maths/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ rust_decimal = { version = "1.2", default-features = false, features = [
] }

[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"composable-support/std",
"composable-tests-helpers/std",
"frame-support/std",
"scale-info/std",
"sp-std/std",
"codec/std",
"composable-support/std",
"composable-tests-helpers/std",
"frame-support/std",
"scale-info/std",
"sp-std/std",
]
9 changes: 2 additions & 7 deletions code/parachain/frame/composable-support/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ serde_json = "1.0.45"
sp-io = { workspace = true }

[features]
default = [ "std" ]
default = ["std"]
schema = ["schemars", "std"]
std = [
"codec/std",
"frame-support/std",
"scale-info/std",
"sp-std/std",
]
std = ["codec/std", "frame-support/std", "scale-info/std", "sp-std/std"]
22 changes: 11 additions & 11 deletions code/parachain/frame/composable-tests-helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ package = "parity-scale-codec"
version = "3.0.0"

[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"composable-support/std",
"composable-support/std",
"frame-support/std",
"frame-system/std",
"pallet-timestamp/std",
"scale-info/std",
"serde",
"sp-runtime/std",
"codec/std",
"composable-support/std",
"composable-support/std",
"frame-support/std",
"frame-system/std",
"pallet-timestamp/std",
"scale-info/std",
"serde",
"sp-runtime/std",
]

runtime-benchmarks = [ "pallet-timestamp/runtime-benchmarks" ]
runtime-benchmarks = ["pallet-timestamp/runtime-benchmarks"]
36 changes: 18 additions & 18 deletions code/parachain/frame/composable-traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,27 +59,27 @@ version = "3.0.0"
proptest = { version = "1.0.0" }

[features]
default = [ "centauri", "std" ]
default = ["centauri", "std"]
std = [
"codec/std",
"composable-support/std",
"cosmwasm-schema",
"cosmwasm-std/std",
"frame-support/std",
"frame-system/std",
"pallet-ibc/std",
"polkadot-parachain/std",
"proxy/std",
"scale-info/std",
"schemars",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
"xc-core/std",
"xcm/std",
"codec/std",
"composable-support/std",
"cosmwasm-schema",
"cosmwasm-std/std",
"frame-support/std",
"frame-system/std",
"pallet-ibc/std",
"polkadot-parachain/std",
"proxy/std",
"scale-info/std",
"schemars",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
"xc-core/std",
"xcm/std",
]
test-utils = []
visualization = [ "plotters" ]
visualization = ["plotters"]
centauri = []

[package.metadata.cargo-udeps.ignore]
Expand Down
86 changes: 43 additions & 43 deletions code/parachain/frame/cosmwasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,51 +90,51 @@ rand = { version = "0.8.5", default-features = false, features = [


[features]
default = [ "std" ]
default = ["std"]

runtime-benchmarks = [
"frame-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"orml-tokens/runtime-benchmarks",
"pallet-assets-registry/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-ibc/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"rand",
"frame-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"orml-tokens/runtime-benchmarks",
"pallet-assets-registry/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-ibc/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"rand",
]
std = [
"codec/std",
"common/std",
"composable-support/std",
"composable-tests-helpers/std",
"composable-traits/std",
"cosmwasm-std/std",
"cosmwasm-vm-wasmi/std",
"cosmwasm-vm/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"hex/std",
"ibc-primitives/std",
"ibc/std",
"orml-tokens/std",
"pallet-assets-registry/std",
"pallet-assets/std",
"pallet-balances/std",
"pallet-ibc/std",
"pallet-timestamp/std",
"parity-wasm/std",
"primitives/std",
"scale-info/std",
"sha3/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"wasm-instrument/std",
"wasmi-validation/std",
"wasmi/std",
"codec/std",
"common/std",
"composable-support/std",
"composable-tests-helpers/std",
"composable-traits/std",
"cosmwasm-std/std",
"cosmwasm-vm-wasmi/std",
"cosmwasm-vm/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"hex/std",
"ibc-primitives/std",
"ibc/std",
"orml-tokens/std",
"pallet-assets-registry/std",
"pallet-assets/std",
"pallet-balances/std",
"pallet-ibc/std",
"pallet-timestamp/std",
"parity-wasm/std",
"primitives/std",
"scale-info/std",
"sha3/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"wasm-instrument/std",
"wasmi-validation/std",
"wasmi/std",
]
4 changes: 2 additions & 2 deletions code/parachain/frame/cosmwasm/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ sp-api = { default-features = false, workspace = true }
sp-std = { default-features = false, workspace = true }

[features]
default = [ "std" ]
std = [ "sp-api/std" ]
default = ["std"]
std = ["sp-api/std"]
Loading

0 comments on commit a8bb0aa

Please sign in to comment.