From a5a11bb4fba03371d9953f0d7984a0ed455863d8 Mon Sep 17 00:00:00 2001 From: wangjj9219 <183318287@qq.com> Date: Tue, 16 Feb 2021 15:40:40 +0800 Subject: [PATCH] format Cargo.toml --- auction/Cargo.toml | 4 ++-- authority/Cargo.toml | 6 +++--- currencies/Cargo.toml | 2 +- nft/Cargo.toml | 4 ++-- oracle/Cargo.toml | 2 +- rewards/Cargo.toml | 2 +- tokens/Cargo.toml | 8 ++++---- traits/Cargo.toml | 2 -- utilities/Cargo.toml | 2 +- vesting/Cargo.toml | 2 +- 10 files changed, 16 insertions(+), 18 deletions(-) diff --git a/auction/Cargo.toml b/auction/Cargo.toml index fb7b4d30e..0e767e2e0 100644 --- a/auction/Cargo.toml +++ b/auction/Cargo.toml @@ -19,8 +19,8 @@ orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = fa funty = { version = "=1.1.0", default-features = false } # https://github.com/bitvecto-rs/bitvec/issues/105 [dev-dependencies] -sp-core = { version = "3.0.0", default-features = false } -sp-io = { version = "3.0.0", default-features = false } +sp-core = "3.0.0" +sp-io = "3.0.0" [features] default = ["std"] diff --git a/authority/Cargo.toml b/authority/Cargo.toml index 039255629..31fc4ac45 100644 --- a/authority/Cargo.toml +++ b/authority/Cargo.toml @@ -19,9 +19,9 @@ orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = fa funty = { version = "=1.1.0", default-features = false } # https://github.com/bitvecto-rs/bitvec/issues/105 [dev-dependencies] -sp-core = { version = "3.0.0", default-features = false } -sp-io = { version = "3.0.0", default-features = false } -pallet-scheduler = { version = "3.0.0" } +sp-core = "3.0.0" +sp-io = "3.0.0" +pallet-scheduler = "3.0.0" [features] default = ["std"] diff --git a/currencies/Cargo.toml b/currencies/Cargo.toml index 7e3d605ad..7708e5636 100644 --- a/currencies/Cargo.toml +++ b/currencies/Cargo.toml @@ -23,7 +23,7 @@ orml-utilities = { path = "../utilities", version = "0.4.1-dev", default-feature funty = { version = "=1.1.0", default-features = false } # https://github.com/bitvecto-rs/bitvec/issues/105 [dev-dependencies] -sp-core = { version = "3.0.0", default-features = false } +sp-core = "3.0.0" pallet-balances = "3.0.0" orml_tokens = { package = "orml-tokens", path = "../tokens", version = "0.4.1-dev" } diff --git a/nft/Cargo.toml b/nft/Cargo.toml index fd9ed7ddb..e1bd81f11 100644 --- a/nft/Cargo.toml +++ b/nft/Cargo.toml @@ -19,8 +19,8 @@ frame-system = { version = "3.0.0", default-features = false } funty = { version = "=1.1.0", default-features = false } # https://github.com/bitvecto-rs/bitvec/issues/105 [dev-dependencies] -sp-io = { version = "3.0.0", default-features = false } -sp-core = { version = "3.0.0", default-features = false } +sp-io = "3.0.0" +sp-core = "3.0.0" [features] default = ["std"] diff --git a/oracle/Cargo.toml b/oracle/Cargo.toml index f8fea239d..36da0de22 100644 --- a/oracle/Cargo.toml +++ b/oracle/Cargo.toml @@ -25,7 +25,7 @@ orml-utilities = { path = "../utilities", version = "0.4.1-dev", default-feature funty = { version = "=1.1.0", default-features = false } # https://github.com/bitvecto-rs/bitvec/issues/105 [dev-dependencies] -sp-core = { version = "3.0.0", default-features = false } +sp-core = "3.0.0" [features] default = ["std"] diff --git a/rewards/Cargo.toml b/rewards/Cargo.toml index 4fcd87da8..5d2cce022 100644 --- a/rewards/Cargo.toml +++ b/rewards/Cargo.toml @@ -20,7 +20,7 @@ orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = fa funty = { version = "=1.1.0", default-features = false } # https://github.com/bitvecto-rs/bitvec/issues/105 [dev-dependencies] -sp-core = { version = "3.0.0", default-features = false } +sp-core = "3.0.0" [features] default = ["std"] diff --git a/tokens/Cargo.toml b/tokens/Cargo.toml index 091742e72..8d59ce706 100644 --- a/tokens/Cargo.toml +++ b/tokens/Cargo.toml @@ -19,10 +19,10 @@ orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = fa funty = { version = "=1.1.0", default-features = false } # https://github.com/bitvecto-rs/bitvec/issues/105 [dev-dependencies] -sp-core = { version = "3.0.0", default-features = false } -sp-io = { version = "3.0.0", default-features = false } -pallet-treasury = { version = "3.0.0" } -pallet-elections-phragmen = { version = "3.0.0" } +sp-core = "3.0.0" +sp-io = "3.0.0" +pallet-treasury = "3.0.0" +pallet-elections-phragmen = "3.0.0" [features] default = ["std"] diff --git a/traits/Cargo.toml b/traits/Cargo.toml index a326765ae..349fa925e 100644 --- a/traits/Cargo.toml +++ b/traits/Cargo.toml @@ -20,8 +20,6 @@ orml-utilities = { path = "../utilities", version = "0.4.1-dev", default-feature funty = { version = "=1.1.0", default-features = false } # https://github.com/bitvecto-rs/bitvec/issues/105 -[dev-dependencies] - [features] default = ["std"] std = [ diff --git a/utilities/Cargo.toml b/utilities/Cargo.toml index 32dcb23bf..0b484d3d0 100644 --- a/utilities/Cargo.toml +++ b/utilities/Cargo.toml @@ -19,7 +19,7 @@ funty = { version = "=1.1.0", default-features = false } # https://github.com/bi [dev-dependencies] serde_json = "1.0.53" -frame-system = { version = "3.0.0" } +frame-system = "3.0.0" [features] default = ["std"] diff --git a/vesting/Cargo.toml b/vesting/Cargo.toml index 6b096f6d5..f08a0d924 100644 --- a/vesting/Cargo.toml +++ b/vesting/Cargo.toml @@ -20,7 +20,7 @@ frame-system = { version = "3.0.0", default-features = false } funty = { version = "=1.1.0", default-features = false } # https://github.com/bitvecto-rs/bitvec/issues/105 [dev-dependencies] -sp-core = { version = "3.0.0", default-features = false } +sp-core = "3.0.0" pallet-balances = "3.0.0" [features]