Cargo Features

[dependencies]
bls-signatures = { version = "0.15.0", default-features = false, features = ["multicore", "pairing", "blst", "blst-portable"] }
default = multicore, pairing

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

multicore default = rayon

Affects signature::aggregate, signature::verify_messages

pairing default = bls12_381, hkdf, sha2

Affects signature::hash, signature::verify_messages

blst = blst_lib, blstrs

Affects signature::hash, signature::verify_messages, signature::verify_messages

blst-portable = blst_lib

Enables portable of blst and blstrs

blst:

Compile in portable mode, without ISA extensions.
Binary can be executed on all systems.

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.

rayon multicore
bls12_381 pairing
sha2 pairing

Enables sha2 ^0.9

hkdf pairing

Enables hkdf ^0.11.0

blst_lib blst? blst-portable?

Enables blst

blstrs blst? blst-portable?