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
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,3 +1,5 @@
+cargo-features = ["workspace-inheritance"]
+
 [workspace]
 resolver = "2"
 members = [
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
1################################################################################1################################################################################
2# Package2# Package
3
4cargo-features = ["workspace-inheritance"]
35
4[package]6[package]
5authors = ['Unique Network <support@uniquenetwork.io>']7authors = ['Unique Network <support@uniquenetwork.io>']
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'