Cargo Features
[dependencies]
bed-reader = { version = "1.0.6", default-features = false, features = ["tokio", "extension-module"] }
https://github.com/PyO3/pyo3/discussions/2271 https://pyo3.rs/latest/faq.html#i-cant-run-cargo-test-or-i-cant-build-in-a-cargo-workspace-im-having-linker-issues-like-symbol-not-found-or-undefined-reference-to-_pyexc_systemerror
- default = tokio
-
The
tokio
feature is set by default wheneverbed-reader
is added without
somewhere in the dependency tree.default-features = false - tokio default extension-module?
-
Enables tokio
Affects
bed-reader::supplemental_document_options
,bed-reader::supplemental_document_cloud_urls
… - extension-module = tokio
-
Enables pyo3 ^0.22.5
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?
-
Enables pyo3 ^0.22.5