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 wheneverladdu-core
is added without
somewhere in the dependency tree.default-features = false - rayon default
-
Enables rayon
Affects
amplitudes::Amplitude.precompute_all
,data::open
,variables::Variable.value_on
… - f32
-
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