Cargo Features
nautilus-backtest has no features set by default.
[dependencies]
nautilus-backtest = { version = "0.46.0", features = ["extension-module", "ffi", "python", "clock_v2"] }
- extension-module
-
Enables extension-module of nautilus-common, nautilus-core, nautilus-execution, nautilus-model, and pyo3
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-common, nautilus-core, nautilus-execution, and nautilus-model
Affects
nautilus-backtest::ffi
… - python = pyo3
-
Enables python of nautilus-common, nautilus-core, nautilus-execution, and nautilus-model
- clock_v2
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.
- pyo3 extension-module? python?
- cbindgen build ffi?