Cargo Features

[dependencies]
fil_pasta_curves = { version = "0.5.2", default-features = false, features = ["alloc", "bits", "gpu", "sqrt-table", "uninline-portable", "serde"] }
default = bits, sqrt-table

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

alloc gpu? sqrt-table = blake2b_simd

Enables alloc of group ^0.12

Affects curves::CurveExt, curves::CurveAffine, curves::Coordinates

bits default

Enables bits of ff ^0.12

gpu = alloc, ec-gpu
sqrt-table default = alloc, lazy_static

Affects fields::SqrtTables

repr-c uninline-portable
serde = hex, serde_crate

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

blake2b_simd alloc?

Enables blake2b_simd

alloc dependencies

lazy_static sqrt-table

Enables lazy_static

sqrt-table dependencies

ec-gpu gpu?

Enables ec-gpu

gpu dependencies

serde_crate serde?

Enables serde

serde dependencies

hex serde?