[package] name = "pezsp-crypto-ec-utils" version = "0.10.0" authors.workspace = true description = "Host functions for common Arkworks elliptic curve operations" edition.workspace = true license = "Apache-2.0" homepage.workspace = true repository.workspace = true documentation.workspace = true [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] ark-bls12-377 = { features = ["curve"], optional = true, workspace = true } ark-bls12-377-ext = { optional = true, workspace = true } ark-bls12-381 = { features = ["curve"], optional = true, workspace = true } ark-bls12-381-ext = { optional = true, workspace = true } ark-bw6-761 = { optional = true, workspace = true } ark-bw6-761-ext = { optional = true, workspace = true } ark-ec = { optional = true, workspace = true } ark-ed-on-bls12-377 = { optional = true, workspace = true } ark-ed-on-bls12-377-ext = { optional = true, workspace = true } ark-ed-on-bls12-381-bandersnatch = { optional = true, workspace = true } ark-ed-on-bls12-381-bandersnatch-ext = { optional = true, workspace = true } ark-scale = { features = ["hazmat"], optional = true, workspace = true } pezsp-runtime-interface = { optional = true, workspace = 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", "pezsp-runtime-interface?/std", ] common = ["ark-ec", "ark-scale", "pezsp-runtime-interface"] 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", ] runtime-benchmarks = ["pezsp-runtime-interface?/runtime-benchmarks"]