Cargo Features

scalarff has no features set by default.

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

Affects scalarff::FieldElement.sample_uniform

serde

Enables serde

curve25519 = curve25519-dalek, ff

Affects scalarff::curve_25519

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

Affects scalarff::alt_bn128

oxfoi

Affects scalarff::oxfoi

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 ^0.4.0

alt_bn128

ark-std alt_bn128?

Enables ark-std ^0.4.0

ark-ff alt_bn128?

Enables ark-ff ^0.4.1