Cargo Features

[dependencies]
bulletproofs-bls = { version = "4.0.0", default-features = false, features = ["std", "blst", "rust", "nightly", "yoloproofs", "docs"] }
default = blst, std

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

std default = rand, thiserror

Enables std and std_rng of rand ^0.8

Affects bulletproofs-bls::r1cs

blst default = blstrs_plus
rust = bls12_381_plus
nightly docs?

Enables nightly of subtle

subtle:

DEPRECATED: As of 2.4.1, this feature does nothing.

yoloproofs

Affects errors::R1CSError, util::VecPoly3, util::Poly6, bulletproofs-bls::r1cs

docs = nightly

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.

bls12_381_plus rust?
blstrs_plus blst
rand std

Enables rand ^0.8

thiserror std

Enables thiserror ^1