Skip to content

Commit

Permalink
sort deps and taplo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Feb 27, 2024
1 parent 2ab4996 commit 5d9d1a3
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 47 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ pallet-encointer-reputation-commitments = { default-features = false, git = "htt
pallet-encointer-scheduler = { default-features = false, git = "https://github.com/encointer/pallets", branch = "polkadot-v1.0.0-pallets-v1.3.0" }



# substrate deps
frame-benchmarking = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" }
frame-benchmarking-cli = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" }
Expand Down
2 changes: 1 addition & 1 deletion client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ version = "1.5.4"
[dependencies]
clap = "2.33"
clap-nested = "0.4.0"
parity-scale-codec = { workspace = true }
env_logger = { workspace = true }
geojson = { workspace = true }
hex = { workspace = true }
log = { workspace = true }
parity-scale-codec = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion client/encointer-api-client-extension/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.8.2"
edition = "2021"

[dependencies]
parity-scale-codec = { workspace = true }
log = { workspace = true }
parity-scale-codec = { workspace = true }
serde = { workspace = true, features = ["std"] }
serde_json = { workspace = true }

Expand Down
3 changes: 1 addition & 2 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ log = { workspace = true }
serde_json = { workspace = true }

frame-system = { workspace = true, features = ["std"] }
pallet-asset-tx-payment = { workspace = true, features = ["std"] }
sc-cli = { workspace = true }
sc-client-api = { workspace = true }
sc-consensus = { workspace = true }
Expand All @@ -51,8 +52,6 @@ sp-io = { workspace = true, features = ["std"] }
sp-keyring = { workspace = true }
sp-runtime = { workspace = true, features = ["std"] }
sp-timestamp = { workspace = true, features = ["std"] }
# encointer-specific
pallet-asset-tx-payment = { workspace = true, features = ["std"] }

# These dependencies are used for the node's RPCs
jsonrpsee = { version = "0.16.2", features = ["server"] }
Expand Down
81 changes: 39 additions & 42 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ version = "1.5.30"
[dependencies]
parity-scale-codec = { workspace = true }
scale-info = { workspace = true }
# added by encointer
serde = { workspace = true, optional = true }

# encointer deps
Expand Down Expand Up @@ -74,29 +73,45 @@ frame-system-benchmarking = { workspace = true, optional = true }
hex-literal = { workspace = true, optional = true }

[build-dependencies]
substrate-wasm-builder = { workspace = true}
substrate-wasm-builder = { workspace = true }

[features]
default = ["std"]
std = [
"parity-scale-codec/std",
"scale-info/std",
"serde",
"encointer-balances-tx-payment-rpc-runtime-api/std",
"encointer-balances-tx-payment/std",
"encointer-primitives/serde_derive",
"encointer-primitives/std",
"frame-executive/std",
"frame-support/std",
"frame-system/std",
"frame-system-rpc-runtime-api/std",
"pallet-aura/std",
"frame-system/std",
"frame-try-runtime/std",
"pallet-asset-tx-payment/std",
"pallet-aura/std",
"pallet-balances/std",
"pallet-encointer-balances/std",
"pallet-encointer-bazaar-rpc-runtime-api/std",
"pallet-encointer-bazaar/std",
"pallet-encointer-ceremonies-rpc-runtime-api/std",
"pallet-encointer-ceremonies/std",
"pallet-encointer-communities-rpc-runtime-api/std",
"pallet-encointer-communities/std",
"pallet-encointer-democracy/std",
"pallet-encointer-faucet/std",
"pallet-encointer-reputation-commitments/std",
"pallet-encointer-scheduler/std",
"pallet-grandpa/std",
"pallet-proxy/std",
"pallet-insecure-randomness-collective-flip/std",
"pallet-proxy/std",
"pallet-sudo/std",
"pallet-timestamp/std",
"pallet-transaction-payment-rpc-runtime-api/std",
"pallet-transaction-payment/std",
"pallet-treasury/std",
"parity-scale-codec/std",
"scale-info/std",
"serde",
"sp-api/std",
"sp-block-builder/std",
"sp-consensus-aura/std",
Expand All @@ -108,34 +123,14 @@ std = [
"sp-std/std",
"sp-transaction-pool/std",
"sp-version/std",
"encointer-balances-tx-payment/std",
"encointer-balances-tx-payment-rpc-runtime-api/std",
"encointer-primitives/std",
"encointer-primitives/serde_derive",
"pallet-encointer-balances/std",
"pallet-encointer-bazaar/std",
"pallet-encointer-bazaar-rpc-runtime-api/std",
"pallet-encointer-ceremonies/std",
"pallet-encointer-ceremonies-rpc-runtime-api/std",
"pallet-encointer-communities/std",
"pallet-encointer-communities-rpc-runtime-api/std",
"pallet-encointer-democracy/std",
"pallet-encointer-faucet/std",
"pallet-encointer-reputation-commitments/std",
"pallet-encointer-scheduler/std",
"frame-try-runtime/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-grandpa/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"hex-literal",
# encointer crates
"pallet-balances/runtime-benchmarks",
"pallet-encointer-balances/runtime-benchmarks",
"pallet-encointer-bazaar/runtime-benchmarks",
"pallet-encointer-ceremonies/runtime-benchmarks",
Expand All @@ -144,26 +139,19 @@ runtime-benchmarks = [
"pallet-encointer-faucet/runtime-benchmarks",
"pallet-encointer-reputation-commitments/runtime-benchmarks",
"pallet-encointer-scheduler/runtime-benchmarks",
"pallet-grandpa/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]

try-runtime = [
"frame-try-runtime/try-runtime",
"frame-executive/try-runtime",
"frame-system/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"frame-try-runtime/try-runtime",
"pallet-asset-tx-payment/try-runtime",
"pallet-aura/try-runtime",
"pallet-balances/try-runtime",
"pallet-grandpa/try-runtime",
"pallet-insecure-randomness-collective-flip/try-runtime",
"pallet-sudo/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-transaction-payment/try-runtime",
"pallet-treasury/try-runtime",
"pallet-proxy/try-runtime",
"pallet-scheduler/try-runtime",
"pallet-utility/try-runtime",
"pallet-asset-tx-payment/try-runtime",

"pallet-encointer-balances/try-runtime",
"pallet-encointer-bazaar/try-runtime",
"pallet-encointer-ceremonies/try-runtime",
Expand All @@ -172,4 +160,13 @@ try-runtime = [
"pallet-encointer-faucet/try-runtime",
"pallet-encointer-reputation-commitments/try-runtime",
"pallet-encointer-scheduler/try-runtime",
"pallet-grandpa/try-runtime",
"pallet-insecure-randomness-collective-flip/try-runtime",
"pallet-proxy/try-runtime",
"pallet-scheduler/try-runtime",
"pallet-sudo/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-transaction-payment/try-runtime",
"pallet-treasury/try-runtime",
"pallet-utility/try-runtime",
]

0 comments on commit 5d9d1a3

Please sign in to comment.