Cargo Features

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

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

cuda = fs2

Enables gpu of blstrs, cuda of ec-gpu-gen

Affects domain::gpu_fft, multiexp::multiexp

opencl = fs2

Enables gpu of blstrs, opencl of ec-gpu-gen

Affects domain::gpu_fft, multiexp::multiexp

groth16 default

Affects bellperson::groth16

cuda-supraseal = supraseal-c2

Affects params::ParameterSource.get_supraseal_srs

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?
supraseal-c2 cuda-supraseal?