Cargo Features

[dependencies]
tari_bulletproofs = { version = "4.4.1", default-features = false, features = ["u64_backend", "simd_backend", "avx2_backend", "std", "yoloproofs", "nightly", "docs"] }
default = std, u64_backend, yoloproofs

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

u64_backend default

Enables u64_backend of tari-curve25519-dalek

simd_backend avx2_backend?

Enables simd_backend of tari-curve25519-dalek

avx2_backend = simd_backend

deprecated alias for simd_backend

std default = rand, thiserror

Enables std of tari-curve25519-dalek and rand ^0.7

rand:

Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

Affects tari_bulletproofs::r1cs

yoloproofs default

Affects errors::R1CSError, util::VecPoly3, util::Poly6, tari_bulletproofs::r1cs

nightly docs?

Enables nightly of tari-curve25519-dalek and subtle

subtle:

DEPRECATED: As of 2.4.1, this feature does nothing.

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.

rand std

Enables rand ^0.7

thiserror std