Cargo Features

hugr-core has no features set by default.

[dependencies]
hugr-core = { version = "0.14.1", features = ["extension_inference", "declarative", "model_unstable"] }
extension_inference
declarative = serde_yaml

Affects extension::declarative

model_unstable = hugr-model

Affects hugr-core::export, hugr-core::import

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_yaml declarative?
hugr-model model_unstable?