Skip to content

Commit

Permalink
format toml
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLucca committed Jan 7, 2025
1 parent e6f2010 commit d77895b
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .snippets/code/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
[workspace.package]
license = "MIT-0"
authors = ["Parity Technologies <[email protected]>", "Web3 Foundation", "PaperMoon.io"]
authors = [
"Parity Technologies <[email protected]>",
"Web3 Foundation",
"PaperMoon.io",
]
homepage = "docs.polkadot.com"
repository = "https://github.com/paritytech/polkadot-sdk-parachain-template.git"
edition = "2021"

[workspace]
members = [
"tutorials/polkadot-sdk/parachains/zero-to-hero/build-custom-pallet"
]
members = ["tutorials/polkadot-sdk/parachains/zero-to-hero/build-custom-pallet"]
resolver = "2"

[workspace.dependencies]
Expand All @@ -25,11 +27,11 @@ pallet-balances = { version = "39.0.0", default-features = false }
suspicious_double_ref_op = { level = "allow", priority = 2 }
# `substrate_runtime` is a common `cfg` condition name used in the repo.
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(build_opt_level, values("3"))',
'cfg(build_profile, values("debug", "release"))',
'cfg(enable_alloc_error_handler)',
'cfg(fuzzing)',
'cfg(substrate_runtime)',
'cfg(build_opt_level, values("3"))',
'cfg(build_profile, values("debug", "release"))',
'cfg(enable_alloc_error_handler)',
'cfg(fuzzing)',
'cfg(substrate_runtime)',
] }

[workspace.lints.clippy]
Expand All @@ -56,4 +58,4 @@ unit_arg = { level = "allow", priority = 2 } # stylistic
unnecessary_cast = { level = "allow", priority = 2 } # Types may change
useless_conversion = { level = "allow", priority = 2 } # Types may change
while_immutable_condition = { level = "allow", priority = 2 } # false positives
zero-prefixed-literal = { level = "allow", priority = 2 } # 00_1000_000
zero-prefixed-literal = { level = "allow", priority = 2 } # 00_1000_000

0 comments on commit d77895b

Please sign in to comment.