Cargo Features

[dependencies]
nautilus-common = { version = "0.47.0", default-features = false, features = ["extension-module", "ffi", "clock_v2", "indicators", "python", "rstest"] }
default = indicators, rstest

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

extension-module

Enables extension-module of nautilus-core, nautilus-indicators, nautilus-model, and pyo3 ^0.24.2

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.

ffi = cbindgen

Enables ffi of nautilus-core and nautilus-model

Affects nautilus-common::ffi

clock_v2
indicators default = nautilus-indicators
python = pyo3, pyo3-async-runtimes

Enables python of nautilus-core and nautilus-model

Affects nautilus-common::python

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

nautilus-indicators extension-module? indicators
pyo3 extension-module? python?

Enables pyo3 ^0.24.2

pyo3-async-runtimes python?
rstest default
cbindgen build ffi?