Cargo Features

Demes has no features set by default.

[dependencies]
demes = { version = "0.6.0", features = ["json", "ffi"] }
json = serde_json

Affects ffi::demes_graph_toplevel_metadata_json, demes::loads_json, demes::load_json

ffi

Affects demes::ffi

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.

serde_json json?