Cargo Features

[dependencies]
blueprint-crypto-sp-core = { version = "0.1.0-alpha.2", default-features = false, features = ["std", "bls", "aggregation"] }
default = aggregation, std

These default features are set whenever blueprint-crypto-sp-core is added without default-features = false somewhere in the dependency tree.

std default

Enables std of optional ark-ec, optional ark-ff, optional ark-serialize, blueprint-crypto-bls, blueprint-crypto-core, blueprint-std, serde, serde_bytes, sp-core ^34.0.0, and optional tnt-bls

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

bls aggregation

Enables bls-experimental of sp-core ^34.0.0

sp-core:

This feature adds BLS crypto primitives.
It should not be used in production since the implementation and interface may still be subject to significant changes.

aggregation default = bls, blueprint-crypto-bls

Enables ark-ec, ark-ff, ark-serialize, sha2, and tnt-bls

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.

blueprint-crypto-bls aggregation std