Cargo Features

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

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

std default

Enables std of ark-bulletproofs, ark-ed25519 ^0.4.0-alpha, ark-secp256k1 ^0.4.0-alpha, ark-secq256k1 ^0.4.0-alpha, ark-std ^0.4.0-alpha, and noah-curve25519-dalek

alloc

Enables alloc of noah-curve25519-dalek

nightly

Enables nightly of noah-curve25519-dalek and rand

rand:

some additions requiring nightly Rust

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.

print-trace

Enables print-trace of noah-algebra

noah-crypto has 8 features without comments.