mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07: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>
69 lines
2.6 KiB
TOML
69 lines
2.6 KiB
TOML
[package]
|
|
name = "sp-crypto-ec-utils"
|
|
version = "0.4.1"
|
|
authors.workspace = true
|
|
description = "Host functions for common Arkworks elliptic curve operations"
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
ark-ec = { version = "0.4.2", default-features = false, optional = true }
|
|
ark-bls12-377-ext = { version = "0.4.1", default-features = false, optional = true }
|
|
ark-bls12-377 = { version = "0.4.0", default-features = false, features = ["curve"], optional = true }
|
|
ark-bls12-381-ext = { version = "0.4.1", default-features = false, optional = true }
|
|
ark-bls12-381 = { version = "0.4.0", default-features = false, features = ["curve"], optional = true }
|
|
ark-bw6-761-ext = { version = "0.4.1", default-features = false, optional = true }
|
|
ark-bw6-761 = { version = "0.4.0", default-features = false, optional = true }
|
|
ark-ed-on-bls12-381-bandersnatch-ext = { version = "0.4.1", default-features = false, optional = true }
|
|
ark-ed-on-bls12-381-bandersnatch = { version = "0.4.0", default-features = false, optional = true }
|
|
ark-ed-on-bls12-377-ext = { version = "0.4.1", default-features = false, optional = true }
|
|
ark-ed-on-bls12-377 = { version = "0.4.0", default-features = false, optional = true }
|
|
ark-scale = { version = "0.0.12", default-features = false, features = ["hazmat"], optional = true }
|
|
sp-runtime-interface = { path = "../../runtime-interface", default-features = false, optional = true }
|
|
sp-std = { path = "../../std", default-features = false, optional = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"ark-bls12-377-ext?/std",
|
|
"ark-bls12-377?/std",
|
|
"ark-bls12-381-ext?/std",
|
|
"ark-bls12-381?/std",
|
|
"ark-bw6-761-ext?/std",
|
|
"ark-bw6-761?/std",
|
|
"ark-ec?/parallel",
|
|
"ark-ec?/std",
|
|
"ark-ed-on-bls12-377-ext?/std",
|
|
"ark-ed-on-bls12-377?/std",
|
|
"ark-ed-on-bls12-381-bandersnatch-ext?/std",
|
|
"ark-ed-on-bls12-381-bandersnatch?/std",
|
|
"ark-scale?/std",
|
|
"sp-runtime-interface?/std",
|
|
"sp-std?/std",
|
|
]
|
|
common = ["ark-ec", "ark-scale", "sp-runtime-interface", "sp-std"]
|
|
bls12-377 = ["ark-bls12-377", "ark-bls12-377-ext", "common"]
|
|
bls12-381 = ["ark-bls12-381", "ark-bls12-381-ext", "common"]
|
|
bw6-761 = ["ark-bw6-761", "ark-bw6-761-ext", "common"]
|
|
ed-on-bls12-377 = ["ark-ed-on-bls12-377", "ark-ed-on-bls12-377-ext", "common"]
|
|
ed-on-bls12-381-bandersnatch = [
|
|
"ark-ed-on-bls12-381-bandersnatch",
|
|
"ark-ed-on-bls12-381-bandersnatch-ext",
|
|
"common",
|
|
]
|
|
all-curves = [
|
|
"bls12-377",
|
|
"bls12-381",
|
|
"bw6-761",
|
|
"ed-on-bls12-377",
|
|
"ed-on-bls12-381-bandersnatch",
|
|
]
|