Cargo Features
redb has no features set by default.
[dependencies]
redb = { version = "2.1.0", features = ["python", "logging", "cache_metrics"] }
- python = pyo3, pyo3-build-config
-
This feature is still experimental, and is not considered stable
- logging = log
-
Enables log messages
- cache_metrics
-
Enable cache hit metrics
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.
- log logging?
- pyo3 python?
-
Enables pyo3 ^0.20.0
- pyo3-build-config build python?
-
Enables pyo3-build-config ^0.20.0