From 93c19326c2d8f9fe44c9b58d1668dab2d984d762 Mon Sep 17 00:00:00 2001 From: Stanislav Tkach <stanislav.tkach@gmail.com> Date: Thu, 21 Feb 2019 11:11:02 +0200 Subject: [PATCH] SRML staking: remove 'default-features = false' from balances dev-dependency (#1813) --- substrate/srml/assets/Cargo.toml | 6 +++--- substrate/srml/aura/Cargo.toml | 6 +++--- substrate/srml/balances/Cargo.toml | 4 ++-- substrate/srml/consensus/Cargo.toml | 2 +- substrate/srml/contract/Cargo.toml | 2 +- substrate/srml/council/Cargo.toml | 2 +- substrate/srml/democracy/Cargo.toml | 4 ++-- substrate/srml/example/Cargo.toml | 6 +++--- substrate/srml/executive/Cargo.toml | 2 +- substrate/srml/grandpa/Cargo.toml | 2 +- substrate/srml/session/Cargo.toml | 4 ++-- substrate/srml/staking/Cargo.toml | 8 ++++---- substrate/srml/sudo/Cargo.toml | 2 +- substrate/srml/timestamp/Cargo.toml | 4 ++-- substrate/srml/treasury/Cargo.toml | 4 ++-- 15 files changed, 29 insertions(+), 29 deletions(-) diff --git a/substrate/srml/assets/Cargo.toml b/substrate/srml/assets/Cargo.toml index 5ee5f8c4f4a..49fc423e1b5 100644 --- a/substrate/srml/assets/Cargo.toml +++ b/substrate/srml/assets/Cargo.toml @@ -16,9 +16,9 @@ srml-support = { path = "../support", default-features = false } system = { package = "srml-system", path = "../system", default-features = false } [dev-dependencies] -substrate-primitives = { path = "../../core/primitives", default-features = false } -sr-std = { path = "../../core/sr-std", default-features = false } -runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false } +substrate-primitives = { path = "../../core/primitives" } +sr-std = { path = "../../core/sr-std" } +runtime_io = { package = "sr-io", path = "../../core/sr-io" } [features] default = ["std"] diff --git a/substrate/srml/aura/Cargo.toml b/substrate/srml/aura/Cargo.toml index 44b2f841664..27e5b11e8a7 100644 --- a/substrate/srml/aura/Cargo.toml +++ b/substrate/srml/aura/Cargo.toml @@ -20,9 +20,9 @@ staking = { package = "srml-staking", path = "../staking", default-features = fa [dev-dependencies] lazy_static = "1.0" parking_lot = "0.7.1" -substrate-primitives = { path = "../../core/primitives", default-features = false } -runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false } -consensus = { package = "srml-consensus", path = "../consensus", default-features = false } +substrate-primitives = { path = "../../core/primitives" } +runtime_io = { package = "sr-io", path = "../../core/sr-io" } +consensus = { package = "srml-consensus", path = "../consensus" } [features] default = ["std"] diff --git a/substrate/srml/balances/Cargo.toml b/substrate/srml/balances/Cargo.toml index 06f4be70262..adc1398dd11 100644 --- a/substrate/srml/balances/Cargo.toml +++ b/substrate/srml/balances/Cargo.toml @@ -17,8 +17,8 @@ srml-support = { path = "../support", default-features = false } system = { package = "srml-system", path = "../system", default-features = false } [dev-dependencies] -runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false } -substrate-primitives = { path = "../../core/primitives", default-features = false } +runtime_io = { package = "sr-io", path = "../../core/sr-io" } +substrate-primitives = { path = "../../core/primitives" } [features] default = ["std"] diff --git a/substrate/srml/consensus/Cargo.toml b/substrate/srml/consensus/Cargo.toml index 13ae8bff0e0..c9b2e391af4 100644 --- a/substrate/srml/consensus/Cargo.toml +++ b/substrate/srml/consensus/Cargo.toml @@ -18,7 +18,7 @@ srml-support = { path = "../support", default-features = false } system = { package = "srml-system", path = "../system", default-features = false } [dev-dependencies] -runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false } +runtime_io = { package = "sr-io", path = "../../core/sr-io" } [features] default = ["std"] diff --git a/substrate/srml/contract/Cargo.toml b/substrate/srml/contract/Cargo.toml index 1a5b5eb0691..38066276811 100644 --- a/substrate/srml/contract/Cargo.toml +++ b/substrate/srml/contract/Cargo.toml @@ -26,7 +26,7 @@ fees = { package = "srml-fees", path = "../fees", default-features = false } wabt = "~0.7.4" assert_matches = "1.1" hex-literal = "0.1.0" -consensus = { package = "srml-consensus", path = "../consensus", default-features = false } +consensus = { package = "srml-consensus", path = "../consensus" } [features] default = ["std"] diff --git a/substrate/srml/council/Cargo.toml b/substrate/srml/council/Cargo.toml index 6f4b1df15d6..5d21d9eecd4 100644 --- a/substrate/srml/council/Cargo.toml +++ b/substrate/srml/council/Cargo.toml @@ -19,7 +19,7 @@ system = { package = "srml-system", path = "../system", default-features = false [dev-dependencies] hex-literal = "0.1.0" -balances = { package = "srml-balances", path = "../balances", default-features = false } +balances = { package = "srml-balances", path = "../balances" } [features] default = ["std"] diff --git a/substrate/srml/democracy/Cargo.toml b/substrate/srml/democracy/Cargo.toml index aa88602ffaa..74d0f764b45 100644 --- a/substrate/srml/democracy/Cargo.toml +++ b/substrate/srml/democracy/Cargo.toml @@ -18,8 +18,8 @@ srml-support = { path = "../support", default-features = false } system = { package = "srml-system", path = "../system", default-features = false } [dev-dependencies] -substrate-primitives = { path = "../../core/primitives", default-features = false } -balances = { package = "srml-balances", path = "../balances", default-features = false } +substrate-primitives = { path = "../../core/primitives" } +balances = { package = "srml-balances", path = "../balances" } [features] default = ["std"] diff --git a/substrate/srml/example/Cargo.toml b/substrate/srml/example/Cargo.toml index 875b760f1b1..72faa86f4cf 100644 --- a/substrate/srml/example/Cargo.toml +++ b/substrate/srml/example/Cargo.toml @@ -13,9 +13,9 @@ system = { package = "srml-system", path = "../system", default-features = false balances = { package = "srml-balances", path = "../balances", default-features = false } [dev-dependencies] -sr-io = { path = "../../core/sr-io", default-features = false } -substrate-primitives = { path = "../../core/primitives", default-features = false } -sr-primitives = { path = "../../core/sr-primitives", default-features = false } +sr-io = { path = "../../core/sr-io" } +substrate-primitives = { path = "../../core/primitives" } +sr-primitives = { path = "../../core/sr-primitives" } [features] default = ["std"] diff --git a/substrate/srml/executive/Cargo.toml b/substrate/srml/executive/Cargo.toml index 836816a14c7..4b4d8591368 100644 --- a/substrate/srml/executive/Cargo.toml +++ b/substrate/srml/executive/Cargo.toml @@ -19,7 +19,7 @@ substrate-primitives = { path = "../../core/primitives" } srml-indices = { path = "../indices" } balances = { package = "srml-balances", path = "../balances" } fees = { package = "srml-fees", path = "../fees" } -parity-codec-derive = { version = "3.0", default-features = false } +parity-codec-derive = { version = "3.0" } [features] default = ["std"] diff --git a/substrate/srml/grandpa/Cargo.toml b/substrate/srml/grandpa/Cargo.toml index 8313d0fb7d1..17b569cfe80 100644 --- a/substrate/srml/grandpa/Cargo.toml +++ b/substrate/srml/grandpa/Cargo.toml @@ -19,7 +19,7 @@ system = { package = "srml-system", path = "../system", default-features = false session = { package = "srml-session", path = "../session", default-features = false } [dev-dependencies] -runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false } +runtime_io = { package = "sr-io", path = "../../core/sr-io" } [features] default = ["std"] diff --git a/substrate/srml/session/Cargo.toml b/substrate/srml/session/Cargo.toml index 3b9d8dd4f6e..318bcdceb49 100644 --- a/substrate/srml/session/Cargo.toml +++ b/substrate/srml/session/Cargo.toml @@ -18,8 +18,8 @@ system = { package = "srml-system", path = "../system", default-features = false timestamp = { package = "srml-timestamp", path = "../timestamp", default-features = false } [dev-dependencies] -substrate-primitives = { path = "../../core/primitives", default-features = false } -runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false } +substrate-primitives = { path = "../../core/primitives" } +runtime_io = { package = "sr-io", path = "../../core/sr-io" } [features] default = ["std"] diff --git a/substrate/srml/staking/Cargo.toml b/substrate/srml/staking/Cargo.toml index 640d9df2052..a5cbeb06c4a 100644 --- a/substrate/srml/staking/Cargo.toml +++ b/substrate/srml/staking/Cargo.toml @@ -19,10 +19,10 @@ system = { package = "srml-system", path = "../system", default-features = false session = { package = "srml-session", path = "../session", default-features = false } [dev-dependencies] -substrate-primitives = { path = "../../core/primitives", default-features = false } -runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false } -timestamp = { package = "srml-timestamp", path = "../timestamp", default-features = false } -balances = { package = "srml-balances", path = "../balances", default-features = false } +substrate-primitives = { path = "../../core/primitives" } +runtime_io = { package = "sr-io", path = "../../core/sr-io" } +timestamp = { package = "srml-timestamp", path = "../timestamp" } +balances = { package = "srml-balances", path = "../balances" } [features] default = ["std"] diff --git a/substrate/srml/sudo/Cargo.toml b/substrate/srml/sudo/Cargo.toml index 345b0b4a760..49df1575f44 100644 --- a/substrate/srml/sudo/Cargo.toml +++ b/substrate/srml/sudo/Cargo.toml @@ -17,7 +17,7 @@ system = { package = "srml-system", path = "../system", default-features = false [dev-dependencies] sr-io = { path = "../../core/sr-io", default-features = false } -substrate-primitives = { path = "../../core/primitives", default-features = false } +substrate-primitives = { path = "../../core/primitives" } [features] default = ["std"] diff --git a/substrate/srml/timestamp/Cargo.toml b/substrate/srml/timestamp/Cargo.toml index 2da162c7442..8de7fd4bbf5 100644 --- a/substrate/srml/timestamp/Cargo.toml +++ b/substrate/srml/timestamp/Cargo.toml @@ -17,8 +17,8 @@ system = { package = "srml-system", path = "../system", default-features = false consensus = { package = "srml-consensus", path = "../consensus", default-features = false } [dev-dependencies] -runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = true } -substrate-primitives = { path = "../../core/primitives", default-features = false } +runtime_io = { package = "sr-io", path = "../../core/sr-io" } +substrate-primitives = { path = "../../core/primitives" } [features] default = ["std"] diff --git a/substrate/srml/treasury/Cargo.toml b/substrate/srml/treasury/Cargo.toml index 13f4972135e..caffc0caaf2 100644 --- a/substrate/srml/treasury/Cargo.toml +++ b/substrate/srml/treasury/Cargo.toml @@ -17,8 +17,8 @@ system = { package = "srml-system", path = "../system", default-features = false balances = { package = "srml-balances", path = "../balances", default-features = false } [dev-dependencies] -runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false } -substrate-primitives = { path = "../../core/primitives", default-features = false } +runtime_io = { package = "sr-io", path = "../../core/sr-io" } +substrate-primitives = { path = "../../core/primitives" } [features] default = ["std"] -- GitLab