Cargo Features

[dependencies]
noah-algebra = { version = "0.4.0", default-features = false, features = ["std", "alloc", "nightly", "u64_backend", "u32_backend", "avx2_backend", "parallel", "asm", "print-trace"] }
default = std, u64_backend

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

std default

Enables std of ark-bls12-381, ark-bulletproofs, ark-ec, ark-ed-on-bls12-381, ark-ed25519, ark-ff, ark-secp256k1, ark-secq256k1, ark-serialize, ark-std, and noah-curve25519-dalek

Affects rand_helper::test_rng

alloc

Enables alloc of noah-curve25519-dalek

nightly

Enables nightly of noah-curve25519-dalek

u64_backend default

Enables u64_backend of noah-curve25519-dalek

noah-curve25519-dalek:

The u64 backend uses u64s with u128 products.

u32_backend

Enables u32_backend of noah-curve25519-dalek

noah-curve25519-dalek:

The u32 backend uses u32s with u64 products.

avx2_backend

Enables avx2_backend of noah-curve25519-dalek

noah-curve25519-dalek:

DEPRECATED: this is now an alias for simd_backend and may be removed in some future release.

parallel = rayon

Enables parallel of ark-bulletproofs, ark-ec, ark-ff, and ark-std

asm

Enables ark-ff

print-trace

Enables print-trace of ark-std

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.

rayon parallel?