mirror of
https://github.com/pezkuwichain/pez-solochain-template.git
synced 2026-04-21 23:47:59 +00:00
58 lines
2.8 KiB
TOML
58 lines
2.8 KiB
TOML
[workspace.package]
|
|
license = "MIT-0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/polkadot-sdk-solochain-template.git"
|
|
edition = "2021"
|
|
|
|
[workspace]
|
|
members = [
|
|
"node",
|
|
"pallets/template",
|
|
"runtime",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.lints.rust]
|
|
suspicious_double_ref_op = { level = "allow", priority = 2 }
|
|
|
|
[workspace.lints.clippy]
|
|
all = { level = "allow", priority = 0 }
|
|
correctness = { level = "warn", priority = 1 }
|
|
complexity = { level = "warn", priority = 1 }
|
|
if-same-then-else = { level = "allow", priority = 2 }
|
|
zero-prefixed-literal = { level = "allow", priority = 2 } # 00_1000_000
|
|
type_complexity = { level = "allow", priority = 2 } # raison d'etre
|
|
nonminimal-bool = { level = "allow", priority = 2 } # maybe
|
|
borrowed-box = { level = "allow", priority = 2 } # Reasonable to fix this one
|
|
too-many-arguments = { level = "allow", priority = 2 } # (Turning this on would lead to)
|
|
needless-lifetimes = { level = "allow", priority = 2 } # generated code
|
|
unnecessary_cast = { level = "allow", priority = 2 } # Types may change
|
|
identity-op = { level = "allow", priority = 2 } # One case where we do 0 +
|
|
useless_conversion = { level = "allow", priority = 2 } # Types may change
|
|
unit_arg = { level = "allow", priority = 2 } # stylistic
|
|
option-map-unit-fn = { level = "allow", priority = 2 } # stylistic
|
|
bind_instead_of_map = { level = "allow", priority = 2 } # stylistic
|
|
erasing_op = { level = "allow", priority = 2 } # E.g. 0 * DOLLARS
|
|
eq_op = { level = "allow", priority = 2 } # In tests we test equality.
|
|
while_immutable_condition = { level = "allow", priority = 2 } # false positives
|
|
needless_option_as_deref = { level = "allow", priority = 2 } # false positives
|
|
derivable_impls = { level = "allow", priority = 2 } # false positives
|
|
stable_sort_primitive = { level = "allow", priority = 2 } # prefer stable sort
|
|
extra-unused-type-parameters = { level = "allow", priority = 2 } # stylistic
|
|
default_constructed_unit_structs = { level = "allow", priority = 2 } # stylistic
|
|
|
|
[workspace.dependencies]
|
|
polkavm = "0.9.3"
|
|
polkavm-linker = "0.9.2"
|
|
polkavm-derive = "0.9.1"
|
|
log = { version = "0.4.20", default-features = false }
|
|
quote = { version = "1.0.33" }
|
|
serde = { version = "1.0.197", default-features = false }
|
|
serde-big-array = { version = "0.3.2" }
|
|
serde_derive = { version = "1.0.117" }
|
|
serde_json = { version = "1.0.114", default-features = false }
|
|
serde_yaml = { version = "0.9" }
|
|
syn = { version = "2.0.50" }
|
|
thiserror = { version = "1.0.48" }
|