mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 19:17: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>
56 lines
1.6 KiB
TOML
56 lines
1.6 KiB
TOML
[package]
|
|
name = "sc-authority-discovery"
|
|
version = "0.10.0-dev"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
build = "build.rs"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
description = "Substrate authority discovery."
|
|
readme = "README.md"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.11"
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
|
|
futures = "0.3.21"
|
|
futures-timer = "3.0.1"
|
|
ip_network = "0.4.1"
|
|
libp2p = { version = "0.51.3", features = ["ed25519", "kad"] }
|
|
multihash = { version = "0.18.1", default-features = false, features = [
|
|
"sha2",
|
|
"std",
|
|
] }
|
|
log = "0.4.17"
|
|
prost = "0.11"
|
|
rand = "0.8.5"
|
|
thiserror = "1.0"
|
|
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" }
|
|
sc-client-api = { path = "../api" }
|
|
sc-network = { path = "../network" }
|
|
sp-api = { path = "../../primitives/api" }
|
|
sp-authority-discovery = { path = "../../primitives/authority-discovery" }
|
|
sp-blockchain = { path = "../../primitives/blockchain" }
|
|
sp-core = { path = "../../primitives/core" }
|
|
sp-keystore = { path = "../../primitives/keystore" }
|
|
sp-runtime = { path = "../../primitives/runtime" }
|
|
async-trait = "0.1.56"
|
|
multihash-codetable = { version = "0.1.1", features = [
|
|
"digest",
|
|
"serde",
|
|
"sha2",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
quickcheck = { version = "1.0.3", default-features = false }
|
|
sp-tracing = { path = "../../primitives/tracing" }
|
|
substrate-test-runtime-client = { path = "../../test-utils/runtime/client" }
|