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 default-features = false somewhere in the dependency tree.

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
rand_pcg bayesian
pyo3 colossus-python?

Enables pyo3 ^0.16.5