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 ^0.4.0-alpha, ark-bulletproofs, ark-ec ^0.4.0-alpha, ark-ed-on-bls12-381 ^0.4.0-alpha, ark-ed25519 ^0.4.0-alpha, ark-ff ^0.4.0-alpha, ark-secp256k1 ^0.4.0-alpha, ark-secq256k1 ^0.4.0-alpha, ark-serialize ^0.4.0-alpha, ark-std ^0.4.0-alpha, 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 ^0.4.0-alpha, ark-ff ^0.4.0-alpha, and ark-std ^0.4.0-alpha

asm

Enables ark-ff ^0.4.0-alpha

print-trace

Enables print-trace of ark-std ^0.4.0-alpha

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?