# 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 = "hugr" version = "0.13.3" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Quantinuum's Hierarchical Unified Graph Representation" homepage = "https://github.com/CQCL/hugr" documentation = "https://docs.rs/hugr/" readme = "README.md" keywords = [ "Quantum", "Quantinuum", ] categories = ["compilers"] license = "Apache-2.0" repository = "https://github.com/CQCL/hugr" [profile.bench] debug = 2 [lib] name = "hugr" path = "src/lib.rs" bench = false [[bench]] name = "bench_main" path = "benches/bench_main.rs" harness = false [dependencies.hugr-core] version = "0.13.3" [dependencies.hugr-model] version = "0.14.0" optional = true [dependencies.hugr-passes] version = "0.13.3" [dev-dependencies.bumpalo] version = "3.16.0" features = ["collections"] [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.rstest] version = "0.23.0" [dev-dependencies.serde_json] version = "1.0.97" [features] declarative = ["hugr-core/declarative"] extension_inference = ["hugr-core/extension_inference"] model_unstable = [ "hugr-core/model_unstable", "hugr-model", ] [lints.clippy] debug_assert_with_mut_call = "warn" [lints.rust] missing_docs = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(ci_run)"]