Cargo Features

scalarff has no features set by default.

[dependencies]
scalarff = { version = "0.4.3", features = ["random", "curve25519", "alt_bn128", "oxfoi"] }
random = rand

Affects scalarff::FieldElement.sample_rand

curve25519 = curve25519-dalek, ff

Affects scalarff::curve_25519

alt_bn128 = ark-bn254, ark-ff, ark-std

Affects scalarff::alt_bn128

oxfoi = twenty-first

Affects scalarff::foi, scalarff::foi_slow

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 random?
curve25519-dalek curve25519?

Enables curve25519-dalek

curve25519

ff curve25519?
ark-bn254 alt_bn128?

Enables ark-bn254

alt_bn128

ark-std alt_bn128?
ark-ff alt_bn128?
twenty-first not wasm32 oxfoi?