mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57: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>
49 lines
979 B
TOML
49 lines
979 B
TOML
[package]
|
|
name = "sp-arithmetic-fuzzer"
|
|
version = "2.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
description = "Fuzzer for fixed point arithmetic primitives."
|
|
documentation = "https://docs.rs/sp-arithmetic-fuzzer"
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
arbitrary = "1.3.0"
|
|
fraction = "0.13.1"
|
|
honggfuzz = "0.5.49"
|
|
num-bigint = "0.4.3"
|
|
sp-arithmetic = { path = ".." }
|
|
|
|
[[bin]]
|
|
name = "biguint"
|
|
path = "src/biguint.rs"
|
|
|
|
[[bin]]
|
|
name = "normalize"
|
|
path = "src/normalize.rs"
|
|
|
|
[[bin]]
|
|
name = "per_thing_from_rational"
|
|
path = "src/per_thing_from_rational.rs"
|
|
|
|
[[bin]]
|
|
name = "per_thing_mult_fraction"
|
|
path = "src/per_thing_mult_fraction.rs"
|
|
|
|
[[bin]]
|
|
name = "multiply_by_rational_with_rounding"
|
|
path = "src/multiply_by_rational_with_rounding.rs"
|
|
|
|
[[bin]]
|
|
name = "fixed_point"
|
|
path = "src/fixed_point.rs"
|