mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
be8e626806
We currently use a bit of a hack in `.cargo/config` to make sure that clippy isn't too annoying by specifying the list of lints. There is now a stable way to define lints for a workspace. The only down side is that every crate seems to have to opt into this so there's a *few* files modified in this PR. Dependencies: - [x] PR that upgrades CI to use rust 1.74 is merged. --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Branislav Kontur <bkontur@gmail.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
49 lines
1.6 KiB
TOML
49 lines
1.6 KiB
TOML
[package]
|
|
name = "pallet-examples"
|
|
version = "4.0.0-dev"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
description = "The single package with examples of various types of FRAME pallets"
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
pallet-default-config-example = { path = "default-config", default-features = false }
|
|
pallet-dev-mode = { path = "dev-mode", default-features = false }
|
|
pallet-example-basic = { path = "basic", default-features = false }
|
|
pallet-example-frame-crate = { path = "frame-crate", default-features = false }
|
|
pallet-example-kitchensink = { path = "kitchensink", default-features = false }
|
|
pallet-example-offchain-worker = { path = "offchain-worker", default-features = false }
|
|
pallet-example-split = { path = "split", default-features = false }
|
|
pallet-example-tasks = { path = "tasks", default-features = false }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"pallet-default-config-example/std",
|
|
"pallet-dev-mode/std",
|
|
"pallet-example-basic/std",
|
|
"pallet-example-frame-crate/std",
|
|
"pallet-example-kitchensink/std",
|
|
"pallet-example-offchain-worker/std",
|
|
"pallet-example-split/std",
|
|
"pallet-example-tasks/std",
|
|
]
|
|
try-runtime = [
|
|
"pallet-default-config-example/try-runtime",
|
|
"pallet-dev-mode/try-runtime",
|
|
"pallet-example-basic/try-runtime",
|
|
"pallet-example-kitchensink/try-runtime",
|
|
"pallet-example-offchain-worker/try-runtime",
|
|
"pallet-example-split/try-runtime",
|
|
"pallet-example-tasks/try-runtime",
|
|
]
|