Cargo Features

[dependencies]
tket2 = { version = "0.9.0", default-features = false, features = ["portmatching", "rewrite-tracing", "binary-eccs", "llvm"] }
portmatching

Enables search and replace optimisation passes using the portmatching crate.

Enables portmatching and rmp-serde

Affects tket2::portmatching, rewrite::ecc_rewriter

rewrite-tracing

Stores a trace of the applied rewrites

binary-eccs default

Support compressed binary encoded ECC files

Enables zstd

default = binary-eccs

The binary-eccs feature is set by default whenever tket2 is added without default-features = false somewhere in the dependency tree.

llvm

Enables anyhow, llvm and llvm-test of hugr

Affects tket2::llvm