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.
- hammer-and-sample bayesian
-
Enables hammer-and-sample ^0.1.4
- rand bayesian
-
Enables rand ^0.8.5
- rand_pcg bayesian
-
Enables rand_pcg ^0.3.1
- pyo3 colossus-python?
-
Enables pyo3 ^0.16.5