Cargo Features

[dependencies]
ysbell = { version = "0.1.2", default-features = false, features = ["gpu", "blst", "groth16", "multicore"] }
default = groth16, multicore

These default features are set whenever ysbell is added without default-features = false somewhere in the dependency tree.

gpu = ff-cl-gen, fs2, ocl
blst = blstrs
groth16 default = paired

Affects ysbell::groth16

multicore default = crossbeam, futures-cpupool, num_cpus

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.

futures-cpupool multicore
num_cpus multicore
crossbeam multicore

Enables crossbeam ^0.7

paired groth16

Enables paired ^0.20.0

ocl gpu?

Enables fil-ocl

ff-cl-gen gpu?

Enables ff-cl-gen ^0.1.1

fs2 gpu?
blstrs blst?

Enables blstrs ^0.2.0