Cargo Features

[dependencies]
bp256 = { version = "0.6.1", default-features = false, features = ["std", "alloc", "pem", "pkcs8", "serde", "sha256", "wip-arithmetic-do-not-use"] }
default = pkcs8, std

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

std default = alloc

Enables std of optional ecdsa and elliptic-curve

ecdsa:

optional dependencies

alloc std

Enables alloc of optional ecdsa and elliptic-curve

pem = pkcs8

Enables pem of elliptic-curve

pkcs8 default pem?

Enables pkcs8 of ecdsa and elliptic-curve

serde

Enables serde of ecdsa and elliptic-curve

sha256 = sha2

Enables digest and hazmat of ecdsa

wip-arithmetic-do-not-use

Enables primeorder

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.

ecdsa pkcs8 serde? sha256?

Affects r1::ecdsa, t1::ecdsa

sha2 sha256?