Cargo Features
[dependencies]
rigetti-pyo3 = { version = "0.4.2", default-features = false, features = ["time", "abi3", "complex", "indexmap", "extension-module"] }
- default = complex, time
-
These default features are set whenever
rigetti-pyo3
is added without
somewhere in the dependency tree.default-features = false - time default
-
Enables time
time has a "stable minus two MSRV" policy, which doesn't jive with our more permissive MSRV https://github.com/time-rs/time/discussions/535
Affects
rigetti-pyo3::datetime
… - abi3
-
Enables abi3 of pyo3 ^0.20
pyo3:
Use the Python limited API. See https://www.python.org/dev/peps/pep-0384/ for more.
- complex default
-
Enables num-complex and num-traits, num-complex of pyo3 ^0.20
- indexmap
-
Enables indexmap, indexmap of pyo3 ^0.20
- extension-module
-
Enables extension-module of pyo3 ^0.20
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.