# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75" name = "tket2" version = "0.6.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Quantinuum's TKET2 Quantum Compiler" homepage = "https://github.com/CQCL/tket2" documentation = "https://docs.rs/tket2" readme = "README.md" keywords = [ "Quantum", "Quantinuum", ] categories = ["compilers"] license = "Apache-2.0" repository = "https://github.com/CQCL/tket2" [lib] name = "tket2" path = "src/lib.rs" bench = false [[test]] name = "badger_termination" path = "tests/badger_termination.rs" [[bench]] name = "bench_main" path = "benches/bench_main.rs" harness = false [dependencies.bytemuck] version = "1.19.0" [dependencies.cgmath] version = "0.18.0" [dependencies.chrono] version = "0.4.30" [dependencies.crossbeam-channel] version = "0.5.8" [dependencies.csv] version = "1.2.2" [dependencies.delegate] version = "0.13.1" [dependencies.derive_more] version = "1.0.0" features = [ "error", "display", "from", "into", ] [dependencies.downcast-rs] version = "1.2.0" [dependencies.fxhash] version = "0.2.1" [dependencies.hugr] version = "0.13.1" [dependencies.hugr-cli] version = "0.13.1" [dependencies.hugr-core] version = "0.13.1" [dependencies.indexmap] version = "2.6.0" [dependencies.itertools] version = "0.13.0" [dependencies.lazy_static] version = "1.5.0" [dependencies.num-complex] version = "0.4" optional = true [dependencies.num-rational] version = "0.4" [dependencies.pest] version = "2.7.14" [dependencies.pest_derive] version = "2.7.14" [dependencies.petgraph] version = "0.6.3" default-features = false [dependencies.portgraph] version = "0.12" features = ["serde"] [dependencies.portmatching] version = "0.3.1" features = ["serde"] optional = true [dependencies.priority-queue] version = "2.1.1" [dependencies.rayon] version = "1.5" [dependencies.rmp-serde] version = "1.1.2" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.smol_str] version = "0.3.1" [dependencies.strum] version = "0.26.3" [dependencies.strum_macros] version = "0.26.4" [dependencies.tket-json-rs] version = "0.5.1" [dependencies.tracing] version = "0.1.37" [dependencies.typetag] version = "0.2.18" [dependencies.zstd] version = "0.13.2" optional = true [dev-dependencies.cool_asserts] version = "2.0.3" [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.rstest] version = "0.23.0" [dev-dependencies.urlencoding] version = "2.1.2" [dev-dependencies.webbrowser] version = "1.0.2" [features] binary-eccs = ["dep:zstd"] default = ["binary-eccs"] portmatching = [ "dep:portmatching", "dep:rmp-serde", ] rewrite-tracing = [] [lints.rust] missing_docs = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(ci_run)"]