Cargo Features

[dependencies]
qoqo-qryd = { version = "0.20.1", default-features = false, features = ["extension-module", "simulator", "web-api"] }
default = extension-module

The extension-module feature is set by default whenever qoqo-qryd is added without default-features = false somewhere in the dependency tree.

extension-module default = simulator, web-api

Enables extension-module of pyo3 ^0.21

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.

simulator extension-module

Enables simulator of roqoqo-qryd

Affects qoqo-qryd::simulator_backend

web-api extension-module

Enables roqoqo-qryd

Affects qoqo-qryd::api_backend, qoqo-qryd::device_from_api