mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 04: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>
41 lines
901 B
TOML
41 lines
901 B
TOML
[package]
|
|
name = "sp-npos-elections-fuzzer"
|
|
version = "2.0.0-alpha.5"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
description = "Fuzzer for phragmén implementation."
|
|
documentation = "https://docs.rs/sp-npos-elections-fuzzer"
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
clap = { version = "4.4.11", features = ["derive"] }
|
|
honggfuzz = "0.5"
|
|
rand = { version = "0.8", features = ["small_rng", "std"] }
|
|
sp-npos-elections = { path = ".." }
|
|
sp-runtime = { path = "../../runtime" }
|
|
|
|
[[bin]]
|
|
name = "reduce"
|
|
path = "src/reduce.rs"
|
|
|
|
[[bin]]
|
|
name = "phragmen_balancing"
|
|
path = "src/phragmen_balancing.rs"
|
|
|
|
[[bin]]
|
|
name = "phragmms_balancing"
|
|
path = "src/phragmms_balancing.rs"
|
|
|
|
[[bin]]
|
|
name = "phragmen_pjr"
|
|
path = "src/phragmen_pjr.rs"
|