Removed unused deps with cargo machete (#1680)

* Removed unused deps with `cargo machete`

* Removed unused deps with `cargo machete` for parachain-template
This commit is contained in:
Branislav Kontur
2022-09-29 13:44:08 +02:00
committed by GitHub
parent facb0891db
commit 9f09698a07
36 changed files with 2 additions and 218 deletions
-2
View File
@@ -8,7 +8,6 @@ edition = "2021"
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive" ] }
# Substrate
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
@@ -23,7 +22,6 @@ polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-
default = [ "std" ]
std = [
"codec/std",
"frame-support/std",
"sp-api/std",
"sp-runtime/std",
"sp-std/std",
-8
View File
@@ -12,12 +12,8 @@ log = { version = "0.4.17", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
# Polkadot
polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
@@ -33,10 +29,6 @@ std = [
"frame-support/std",
"sp-runtime/std",
"sp-std/std",
"sp-trie/std",
"polkadot-core-primitives/std",
"polkadot-parachain/std",
"polkadot-primitives/std",
"cumulus-primitives-core/std",
"xcm/std",
"xcm-builder/std",