Cargo Features

[dependencies]
halo2curves-axiom = { version = "0.7.0", default-features = false, features = ["asm", "bits", "bn256-table", "derive_serde", "prefetch", "print-trace"] }
default = bits, bn256-table, derive_serde

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

asm
bits default

Enables bits of ff

Affects field::random_bits_tests

bn256-table default
derive_serde default = hex, serde_arrays

Enables derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

Affects curve::random_serde_test, field::random_serde_test

prefetch

Affects halo2curves-axiom::prefetch

print-trace dev

Enables print-trace of ark-std ^0.3

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.

serde derive_serde
serde_arrays derive_serde
hex derive_serde