Cargo Features

[dependencies]
ironfish-bellperson = { version = "0.1.0", default-features = false, features = ["cuda", "opencl", "groth16"] }
default = groth16

The groth16 feature is set by default whenever ironfish-bellperson is added without default-features = false somewhere in the dependency tree.

cuda = fs2

Enables gpu of blstrs ^0.6.0, cuda of ec-gpu-gen ^0.5.0

Affects domain::gpu_fft, multiexp::multiexp

opencl = fs2

Enables gpu of blstrs ^0.6.0, opencl of ec-gpu-gen ^0.5.0

Affects domain::gpu_fft, multiexp::multiexp

groth16 default

Affects ironfish-bellperson::groth16

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

fs2 cuda? opencl?