sp-crypto-ec-utils 0.19.0

Host functions for common Arkworks elliptic curve operations
Documentation
[dependencies.ark-bls12-377]
default-features = false
features = ["curve"]
optional = true
version = "0.5.0"

[dependencies.ark-bls12-377-ext]
default-features = false
optional = true
version = "0.5.0"

[dependencies.ark-bls12-381]
default-features = false
features = ["curve"]
optional = true
version = "0.5.0"

[dependencies.ark-bls12-381-ext]
default-features = false
optional = true
version = "0.5.0"

[dependencies.ark-bw6-761]
default-features = false
optional = true
version = "0.5.0"

[dependencies.ark-bw6-761-ext]
default-features = false
optional = true
version = "0.5.0"

[dependencies.ark-ec]
default-features = false
optional = true
version = "0.5.0"

[dependencies.ark-ed-on-bls12-377]
default-features = false
optional = true
version = "0.5.0"

[dependencies.ark-ed-on-bls12-377-ext]
default-features = false
optional = true
version = "0.5.0"

[dependencies.ark-ed-on-bls12-381-bandersnatch]
default-features = false
optional = true
version = "0.5.0"

[dependencies.ark-ed-on-bls12-381-bandersnatch-ext]
default-features = false
optional = true
version = "0.5.0"

[dependencies.ark-scale]
default-features = false
features = ["hazmat"]
optional = true
version = "0.0.13"

[dependencies.sp-runtime-interface]
default-features = false
optional = true
version = "33.0.0"

[features]
all-curves = ["bls12-377", "bls12-381", "bw6-761", "ed-on-bls12-377", "ed-on-bls12-381-bandersnatch"]
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"]
common = ["ark-ec", "ark-scale", "sp-runtime-interface"]
default = ["std"]
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"]
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"]

[lib]
name = "sp_crypto_ec_utils"
path = "src/lib.rs"

[lints.clippy.all]
level = "allow"
priority = 0

[lints.clippy.bind_instead_of_map]
level = "allow"
priority = 2

[lints.clippy.borrowed-box]
level = "allow"
priority = 2

[lints.clippy.complexity]
level = "warn"
priority = 1

[lints.clippy.correctness]
level = "warn"
priority = 1

[lints.clippy.default_constructed_unit_structs]
level = "allow"
priority = 2

[lints.clippy.derivable_impls]
level = "allow"
priority = 2

[lints.clippy.eq_op]
level = "allow"
priority = 2

[lints.clippy.erasing_op]
level = "allow"
priority = 2

[lints.clippy.extra-unused-type-parameters]
level = "allow"
priority = 2

[lints.clippy.identity-op]
level = "allow"
priority = 2

[lints.clippy.if-same-then-else]
level = "allow"
priority = 2

[lints.clippy.needless-lifetimes]
level = "allow"
priority = 2

[lints.clippy.needless_option_as_deref]
level = "allow"
priority = 2

[lints.clippy.nonminimal-bool]
level = "allow"
priority = 2

[lints.clippy.option-map-unit-fn]
level = "allow"
priority = 2

[lints.clippy.stable_sort_primitive]
level = "allow"
priority = 2

[lints.clippy.too-many-arguments]
level = "allow"
priority = 2

[lints.clippy.type_complexity]
level = "allow"
priority = 2

[lints.clippy.unit_arg]
level = "allow"
priority = 2

[lints.clippy.unnecessary_cast]
level = "allow"
priority = 2

[lints.clippy.useless_conversion]
level = "allow"
priority = 2

[lints.clippy.while_immutable_condition]
level = "allow"
priority = 2

[lints.clippy.zero-prefixed-literal]
level = "allow"
priority = 2

[lints.rust.suspicious_double_ref_op]
level = "allow"
priority = 2

[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(build_opt_level, values("3"))', 'cfg(build_profile, values("debug", "release"))', "cfg(enable_alloc_error_handler)", "cfg(fuzzing)", "cfg(ignore_flaky_test)", "cfg(substrate_runtime)"]
level = "warn"
priority = 0

[package]
authors = ["Parity Technologies <admin@parity.io>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Host functions for common Arkworks elliptic curve operations"
edition = "2021"
homepage = "https://paritytech.github.io/polkadot-sdk/"
license = "Apache-2.0"
name = "sp-crypto-ec-utils"
readme = false
repository = "https://github.com/paritytech/polkadot-sdk.git"
version = "0.19.0"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]