Cargo Features
[dependencies]
cosmology = { version = "0.3.2", default-features = false, features = ["bayesian", "nn", "colossus-python"] }
- default = bayesian, nn
-
These default features are set whenever
cosmology
is added without
somewhere in the dependency tree.default-features = false - bayesian default = hammer-and-sample, rand, rand_pcg
-
Affects
cosmology::bayesian
… - nn default
-
Affects
cosmology::nn
… - colossus-python = pyo3
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.