Files
pezkuwi-subxt/polkadot/node/overseer/Cargo.toml
T
Squirrel be8e626806 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>
2023-12-13 15:11:07 +01:00

47 lines
1.8 KiB
TOML

[package]
name = "polkadot-overseer"
version = "1.0.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
description = "System overseer of the Polkadot node"
[lints]
workspace = true
[dependencies]
client = { package = "sc-client-api", path = "../../../substrate/client/api" }
sp-api = { path = "../../../substrate/primitives/api" }
futures = "0.3.21"
futures-timer = "3.0.2"
parking_lot = "0.12.0"
polkadot-node-network-protocol = { path = "../network/protocol" }
polkadot-node-primitives = { path = "../primitives" }
polkadot-node-subsystem-types = { path = "../subsystem-types" }
polkadot-node-metrics = { path = "../metrics" }
polkadot-primitives = { path = "../../primitives" }
orchestra = { version = "0.3.3", default-features = false, features = ["futures_channel"] }
gum = { package = "tracing-gum", path = "../gum" }
sp-core = { path = "../../../substrate/primitives/core" }
async-trait = "0.1.57"
tikv-jemalloc-ctl = { version = "0.5.0", optional = true }
[dev-dependencies]
metered = { package = "prioritized-metered-channel", version = "0.5.1", default-features = false, features = ["futures_channel"] }
sp-core = { path = "../../../substrate/primitives/core" }
futures = { version = "0.3.21", features = ["thread-pool"] }
femme = "2.2.1"
assert_matches = "1.4.0"
test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../primitives/test-helpers" }
node-test-helpers = { package = "polkadot-node-subsystem-test-helpers", path = "../subsystem-test-helpers" }
[target.'cfg(target_os = "linux")'.dependencies]
tikv-jemalloc-ctl = "0.5.0"
[features]
default = ["futures_channel"]
dotgraph = ["orchestra/dotgraph"]
expand = ["orchestra/expand"]
futures_channel = ["metered/futures_channel", "orchestra/futures_channel"]
jemalloc-allocator = ["dep:tikv-jemalloc-ctl"]