Cargo Features

qoqo = { version = "1.11.0", default-features = false, features = ["extension-module", "circuitdag", "json_schema", "unstable_chain_with_environment", "unstable_analog_operations"] }
default = extension-module, json_schema

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

extension-module default = circuitdag

Enables extension-module of pyo3 ^0.20


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.

circuitdag extension-module

Enables circuitdag of roqoqo

json_schema default

Enables json_schema of roqoqo


Enables unstable_chain_with_environment of qoqo-macros and roqoqo

Affects devices::ChainWithEnvironmentCapsule


Enables unstable_analog_operations of roqoqo