Cargo Features

[dependencies]
laddu-core = { version = "0.2.0", default-features = false, features = ["rayon", "f32", "python", "pyo3", "numpy", "num_cpus"] }
default = rayon

The rayon feature is set by default whenever laddu-core is added without default-features = false somewhere in the dependency tree.

rayon default

Enables rayon

Affects amplitudes::Amplitude.precompute_all, data::open, variables::Variable.value_on

f32

Enables f32 of ganesh

Affects laddu-core::Float, laddu-core::PI

python = num_cpus, numpy, pyo3
pyo3 python?

Enables pyo3

numpy python?

Enables numpy

num_cpus python?

Enables num_cpus