Cargo Features
[dependencies]
direct-neural-biasing = { version = "0.12.3", default-features = false, features = ["python", "cpp"] }
- default = python
-
Define a 'python' feature to include Python bindings
- python default = maturin, pyo3
-
Affects
bindings::python
… - cpp
-
Exclude Python bindings when building for C++
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 python
-
Enables pyo3 ^0.21.2
- maturin build python