Cargo Features

[dependencies]
fastatomstruct = { version = "1.3.4", default-features = false, features = ["python", "rayon", "time", "extension-module", "generate-import-lib", "abi3-py38"] }
default = extension-module, generate-import-lib, python, rayon, time

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

python default

Enables numpy ^0.23 and pyo3 ^0.23

Affects fastatomstruct::ArrayPair, fastatomstruct::ArrayPairDiffType, fastatomstruct::ArrayTriplet, fastatomstruct::ArrayQuad, fastatomstruct::ArrayQuint, fastatomstruct::convert_atoms, fastatomstruct::convert_positions, fastatomstruct::convert_velocities, fastatomstruct::convert_stress, fastatomstruct::convert_array_to_matrix, fastatomstruct::convert_3d_array_to_matrices, fastatomstruct::convert_multiple_atoms, fastatomstruct::convert_multiple_positions, fastatomstruct::convert_multiple_velocities, fastatomstruct::convert_multiple_stresses, fastatomstruct::convert_multiple_stress_arrays

rayon default

Enables rayon, rayon of iter-log and ndarray

time default

Enables time of iter-log

extension-module default

Enables extension-module of pyo3 ^0.23

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.

generate-import-lib default

Enables generate-import-lib of pyo3 ^0.23

pyo3:

Automatically generates python3.dll import libraries for Windows targets.

abi3-py38

Enables abi3-py38 of pyo3 ^0.23