Cargo Features

[dependencies]
bign256 = { version = "0.13.1", default-features = false, features = ["std", "alloc", "dsa", "arithmetic", "pkcs8"] }
default = arithmetic, dsa, pkcs8, std

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

std default = alloc

Enables std of elliptic-curve and optional signature

alloc std

Enables alloc of elliptic-curve and optional primeorder

primeorder:

optional dependencies

dsa default = arithmetic

Enables belt-hash, crypto-bigint, rfc6979, and signature

Affects bign256::dsa

arithmetic default dsa

Enables primeorder, arithmetic of elliptic-curve

Affects bign256::arithmetic, bign256::NonZeroScalar, bign256::PublicKey

pkcs8 default

Enables pkcs8 of elliptic-curve