Cargo Features
[dependencies]
laddu = { version = "0.1.10", default-features = false, features = ["extension-module", "rayon", "f32", "python", "pyo3", "numpy"] }
- default = python, rayon
-
These default features are set whenever
laddu
is added without
somewhere in the dependency tree.default-features = false - extension-module python
-
Enables extension-module of pyo3 ^0.22.6
pyo3:
Use this feature when building an extension module.
It tells the linker to keep the python symbols unresolved,
so that the module can also be used with statically linked python interpreters. - rayon default
-
Enables rayon
Affects
amplitudes::Amplitude.precompute_all
,data::open
,variables::Variable.value_on
… - f32
-
Affects
laddu::Float
,laddu::PI
… - python default = extension-module, numpy, pyo3
-
Affects
laddu::python
… - pyo3 extension-module? python
-
Enables pyo3 ^0.22.6
- numpy python
-
Enables numpy