mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +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>
47 lines
1.5 KiB
TOML
47 lines
1.5 KiB
TOML
[package]
|
|
name = "cumulus-primitives-core"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
description = "Cumulus related core primitive types and traits"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
|
|
|
# Substrate
|
|
sp-api = { path = "../../../substrate/primitives/api", default-features = false }
|
|
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false }
|
|
sp-std = { path = "../../../substrate/primitives/std", default-features = false }
|
|
sp-trie = { path = "../../../substrate/primitives/trie", default-features = false }
|
|
|
|
# Polkadot
|
|
polkadot-core-primitives = { path = "../../../polkadot/core-primitives", default-features = false }
|
|
polkadot-parachain-primitives = { path = "../../../polkadot/parachain", default-features = false }
|
|
polkadot-primitives = { path = "../../../polkadot/primitives", default-features = false }
|
|
xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"polkadot-core-primitives/std",
|
|
"polkadot-parachain-primitives/std",
|
|
"polkadot-primitives/std",
|
|
"scale-info/std",
|
|
"sp-api/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"sp-trie/std",
|
|
"xcm/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"polkadot-parachain-primitives/runtime-benchmarks",
|
|
"polkadot-primitives/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
]
|