git.delta.rocks / unique-network / refs/commits / a9a8d71503b7

difftreelog

build enable cargo workspace-inheritance

Yaroslav Bolyukin2022-10-20parent: #91cf06e.patch.diff
in: master

5 files changed

modifiedCargo.tomldiffbeforeafterboth
before · Cargo.toml
1[workspace]2resolver = "2"3members = [4    'node/*',5    'pallets/*',6    'client/*',7    'primitives/*',8    'crates/*',9    'runtime/opal',10    'runtime/quartz',11    'runtime/unique',12    'runtime/tests',13]14default-members = ['node/*', 'runtime/opal']15[profile.release]16panic = 'unwind'1718[workspace.dependencies.orml-vesting]19git = "https://github.com/uniquenetwork/open-runtime-module-library"20branch = "polkadot-v0.9.30"21default-features = false2223[workspace.dependencies.orml-xtokens]24git = "https://github.com/uniquenetwork/open-runtime-module-library"25branch = "polkadot-v0.9.30"26default-features = false2728[workspace.dependencies.orml-tokens]29git = "https://github.com/uniquenetwork/open-runtime-module-library"30branch = "polkadot-v0.9.30"31default-features = false3233[workspace.dependencies.orml-traits]34git = "https://github.com/uniquenetwork/open-runtime-module-library"35branch = "polkadot-v0.9.30"36default-features = false
after · Cargo.toml
1cargo-features = ["workspace-inheritance"]23[workspace]4resolver = "2"5members = [6    'node/*',7    'pallets/*',8    'client/*',9    'primitives/*',10    'crates/*',11    'runtime/opal',12    'runtime/quartz',13    'runtime/unique',14    'runtime/tests',15]16default-members = ['node/*', 'runtime/opal']17[profile.release]18panic = 'unwind'1920[workspace.dependencies.orml-vesting]21git = "https://github.com/uniquenetwork/open-runtime-module-library"22branch = "polkadot-v0.9.30"23default-features = false2425[workspace.dependencies.orml-xtokens]26git = "https://github.com/uniquenetwork/open-runtime-module-library"27branch = "polkadot-v0.9.30"28default-features = false2930[workspace.dependencies.orml-tokens]31git = "https://github.com/uniquenetwork/open-runtime-module-library"32branch = "polkadot-v0.9.30"33default-features = false3435[workspace.dependencies.orml-traits]36git = "https://github.com/uniquenetwork/open-runtime-module-library"37branch = "polkadot-v0.9.30"38default-features = false
modifiedpallets/foreign-assets/Cargo.tomldiffbeforeafterboth
--- a/pallets/foreign-assets/Cargo.toml
+++ b/pallets/foreign-assets/Cargo.toml
@@ -1,3 +1,5 @@
+cargo-features = ["workspace-inheritance"]
+
 [package]
 name = "pallet-foreign-assets"
 version = "0.1.0"
@@ -7,10 +9,12 @@
 [dependencies]
 log = { version = "0.4.16", default-features = false }
 serde = { version = "1.0.136", optional = true }
-scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
+scale-info = { version = "2.0.1", default-features = false, features = [
+	"derive",
+] }
 codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
 sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30", default-features = false }
-sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30", default-features = false  }
+sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30", default-features = false }
 frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30", default-features = false }
 frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.30", default-features = false }
 up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
@@ -46,7 +50,7 @@
 	"pallet-common/std",
 	"pallet-balances/std",
 	"pallet-fungible/std",
-	"orml-tokens/std"
+	"orml-tokens/std",
 ]
 try-runtime = ["frame-support/try-runtime"]
 runtime-benchmarks = ['frame-benchmarking', 'pallet-common/runtime-benchmarks']
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -1,6 +1,8 @@
 ################################################################################
 # Package
 
+cargo-features = ["workspace-inheritance"]
+
 [package]
 authors = ['Unique Network <support@uniquenetwork.io>']
 build = 'build.rs'
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -1,6 +1,8 @@
 ################################################################################
 # Package
 
+cargo-features = ["workspace-inheritance"]
+
 [package]
 authors = ['Unique Network <support@uniquenetwork.io>']
 build = 'build.rs'
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -1,6 +1,8 @@
 ################################################################################
 # Package
 
+cargo-features = ["workspace-inheritance"]
+
 [package]
 authors = ['Unique Network <support@uniquenetwork.io>']
 build = 'build.rs'