Cargo Features

HUGR has no features set by default.

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

Enables extension_inference of hugr-core

declarative

Enables declarative of hugr-core

model_unstable = hugr-model

Enables model_unstable of hugr-core

llvm

Enables llvm14-0 of hugr-llvm

llvm-test

Enables llvm14-0 and test-utils of hugr-llvm

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.

hugr-model model_unstable?
hugr-llvm llvm? llvm-test?