Set clippy lints in workspace (requires rust 1.74) (#2390)

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>
This commit is contained in:
Squirrel
2023-12-13 14:11:07 +00:00
committed by GitHub
parent 4c4407a893
commit be8e626806
471 changed files with 1430 additions and 37 deletions
+3
View File
@@ -10,6 +10,9 @@ publish = false
repository = "https://github.com/substrate-developer-hub/substrate-node-template/"
build = "build.rs"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -8,6 +8,9 @@ repository.workspace = true
license.workspace = true
publish = false
[lints]
workspace = true
[dependencies]
parity-scale-codec = { version = "3.0.0", default-features = false }
scale-info = { version = "2.6.0", default-features = false }
@@ -10,6 +10,9 @@ publish = false
repository = "https://github.com/substrate-developer-hub/substrate-node-template/"
build = "build.rs"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ license = "MIT-0"
publish = false
repository = "https://github.com/substrate-developer-hub/substrate-node-template/"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ license = "MIT-0"
publish = false
repository = "https://github.com/substrate-developer-hub/substrate-node-template/"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
publish = false
[lints]
workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
+3
View File
@@ -11,6 +11,9 @@ homepage = "https://substrate.io"
repository.workspace = true
publish = false
[lints]
workspace = true
[package.metadata.wasm-pack.profile.release]
# `wasm-opt` has some problems on linux, see
# https://github.com/rustwasm/wasm-pack/issues/781 etc.
+3
View File
@@ -8,6 +8,9 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
publish = false
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
publish = false
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -10,6 +10,9 @@ homepage = "https://substrate.io"
repository.workspace = true
publish = false
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
publish = false
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
publish = false
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -10,6 +10,9 @@ description = "Collection of allocator implementations."
documentation = "https://docs.rs/sc-allocator"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -10,6 +10,9 @@ description = "Substrate client interfaces."
documentation = "https://docs.rs/sc-client-api"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -10,6 +10,9 @@ repository.workspace = true
description = "Substrate authority discovery."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Basic implementation of block-authoring logic."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Substrate block builder"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Substrate chain configurations."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -8,6 +8,9 @@ homepage = "https://substrate.io"
repository.workspace = true
description = "Macros to derive chain spec extension traits implementation."
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -10,6 +10,9 @@ repository.workspace = true
documentation = "https://docs.rs/sc-consensus-babe"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -8,6 +8,9 @@ repository.workspace = true
description = "BEEFY Client gadget for substrate"
homepage = "https://substrate.io"
[lints]
workspace = true
[dependencies]
array-bytes = "6.1"
async-channel = "1.8.0"
@@ -8,6 +8,9 @@ repository.workspace = true
description = "RPC for the BEEFY Client gadget for substrate"
homepage = "https://substrate.io"
[lints]
workspace = true
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
futures = "0.3.21"
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Collection of common consensus specific imlementations for Substrate (client)"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -10,6 +10,9 @@ description = "Integration of the GRANDPA finality gadget into substrate."
documentation = "https://docs.rs/sc-consensus-grandpa"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
readme = "README.md"
homepage = "https://substrate.io"
[lints]
workspace = true
[dependencies]
finality-grandpa = { version = "0.16.2", features = ["derive-codec"] }
futures = "0.3.16"
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -10,6 +10,9 @@ homepage = "https://substrate.io"
repository.workspace = true
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Client backend that uses RocksDB database as storage."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -10,6 +10,9 @@ description = "A crate that provides means of executing/dispatching calls into t
documentation = "https://docs.rs/sc-executor"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -10,6 +10,9 @@ description = "A set of common definitions that are needed for defining executio
documentation = "https://docs.rs/sc-executor-common/"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ publish = false
homepage = "https://substrate.io"
repository.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Defines a `WasmRuntime` that uses the Wasmtime JIT to execute."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -10,6 +10,9 @@ description = "Keystore (and session key management) for ed25519 based chains li
documentation = "https://docs.rs/sc-keystore"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -8,6 +8,9 @@ repository.workspace = true
description = "MMR Client gadget for substrate"
homepage = "https://substrate.io"
[lints]
workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
@@ -8,6 +8,9 @@ homepage = "https://substrate.io"
repository.workspace = true
description = "Node-specific RPC methods for interaction with Merkle Mountain Range pallet."
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -10,6 +10,9 @@ repository.workspace = true
documentation = "https://docs.rs/sc-network-gossip"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -10,6 +10,9 @@ repository.workspace = true
documentation = "https://docs.rs/sc-network"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
documentation = "https://docs.rs/sc-network-bitswap"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
documentation = "https://docs.rs/sc-network-sync"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
documentation = "https://docs.rs/sc-network-light"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
documentation = "https://docs.rs/sc-network-statement"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
documentation = "https://docs.rs/sc-network-sync"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ publish = false
homepage = "https://substrate.io"
repository.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
documentation = "https://docs.rs/sc-network-transactions"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Basic metrics for block production."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Substrate RPC interfaces."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Substrate RPC servers."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Substrate RPC interface v2."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Substrate Client RPC"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Substrate service. Starts a thread that spins up the network, client, and extrinsic pool. Manages communication between them."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -8,6 +8,9 @@ publish = false
homepage = "https://substrate.io"
repository.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "State database maintenance. Handles canonicalization and pruning in the database."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Substrate statement store."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -8,6 +8,9 @@ repository.workspace = true
description = "Storage monitor service for substrate"
homepage = "https://substrate.io"
[lints]
workspace = true
[dependencies]
clap = { version = "4.4.11", features = ["derive", "string"] }
log = "0.4.17"
@@ -8,6 +8,9 @@ license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -10,6 +10,9 @@ description = "A crate that provides basic hardware and software telemetry infor
documentation = "https://docs.rs/sc-sysinfo"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -10,6 +10,9 @@ repository.workspace = true
documentation = "https://docs.rs/sc-telemetry"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Instrumentation implementation for substrate."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -8,6 +8,9 @@ homepage = "https://substrate.io"
repository.workspace = true
description = "Helper macros for Substrate's client CLI"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Substrate transaction pool implementation."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -8,6 +8,9 @@ homepage = "https://substrate.io"
repository.workspace = true
description = "Transaction pool client facing API."
[lints]
workspace = true
[dependencies]
async-trait = "0.1.57"
codec = { package = "parity-scale-codec", version = "3.6.1" }
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "I/O for Substrate runtimes"
readme = "README.md"
[lints]
workspace = true
[dependencies]
async-channel = "1.8.0"
futures = "0.3.21"
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "The single package to get you started with building frame pallets and runtimes"
publish = false
[lints]
workspace = true
[package.metadata.docs.rs]
# enable `experimental` feature for docs
features = ["experimental"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "The Alliance pallet provides a collective for standard-setting industry collaboration."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ repository.workspace = true
description = "FRAME asset conversion pallet"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -8,6 +8,9 @@ edition.workspace = true
license = "Apache-2.0"
repository.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "FRAME asset management pallet"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "FRAME atomic swap pallet"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "FRAME AURA consensus pallet"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ repository.workspace = true
description = "FRAME pallet for authority discovery"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ homepage = "https://substrate.io"
repository.workspace = true
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Consensus extension module for BABE consensus. Collects on-chain randomness from VRF outputs and manages epoch transitions."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -8,6 +8,9 @@ homepage = "https://substrate.io"
repository.workspace = true
description = "FRAME pallet bags list"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Fuzzer for FRAME pallet bags list"
publish = false
[lints]
workspace = true
[dependencies]
honggfuzz = "0.5"
rand = { version = "0.8", features = ["small_rng", "std"] }
@@ -9,6 +9,9 @@ repository.workspace = true
description = "FRAME pallet bags list remote test"
publish = false
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "FRAME pallet to manage balances"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -8,6 +8,9 @@ description = "BEEFY + MMR runtime utilities"
repository.workspace = true
homepage = "https://substrate.io"
[lints]
workspace = true
[dependencies]
array-bytes = { version = "6.1", optional = true }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
+3
View File
@@ -8,6 +8,9 @@ repository.workspace = true
description = "BEEFY FRAME pallet"
homepage = "https://substrate.io"
[lints]
workspace = true
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Macro for benchmarking a FRAME runtime."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -8,6 +8,9 @@ homepage = "https://substrate.io"
repository.workspace = true
description = "Pallet for testing FRAME PoV benchmarking"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "FRAME pallet to manage bounties"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -8,6 +8,9 @@ edition.workspace = true
license = "Apache-2.0"
repository.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -9,6 +9,9 @@ repository.workspace = true
description = "FRAME pallet to manage child bounties"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -9,6 +9,9 @@ repository.workspace = true
description = "Collective system: Members of a set of account IDs can make their collective feelings known through dispatched calls from one of two specialized origins."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
+3
View File
@@ -11,6 +11,9 @@ description = "FRAME pallet for WASM contracts"
readme = "README.md"
include = ["CHANGELOG.md", "README.md", "benchmarks/**", "build.rs", "src/**/*"]
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -7,6 +7,9 @@ edition.workspace = true
license.workspace = true
description = "Fixtures for testing contracts pallet."
[lints]
workspace = true
[dependencies]
wat = "1"
frame-system = { path = "../../system" }
@@ -6,3 +6,6 @@ authors.workspace = true
edition.workspace = true
license.workspace = true
description = "Common utilities for pallet-contracts-fixtures."
[lints]
workspace = true
@@ -8,6 +8,9 @@ homepage = "https://substrate.io"
repository.workspace = true
description = "A mock network for testing pallet-contracts"
[lints]
workspace = true
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
@@ -9,6 +9,9 @@ repository.workspace = true
description = "A crate that hosts a common definitions that are relevant for the pallet-contracts."
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -8,6 +8,9 @@ homepage = "https://substrate.io"
repository.workspace = true
description = "Procedural macros used in pallet_contracts"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

Some files were not shown because too many files have changed in this diff Show More