# 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-core" 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" [lib] name = "hugr_core" path = "src/lib.rs" [[test]] name = "model" path = "tests/model.rs" required-features = ["model_unstable"] [dependencies.bitvec] version = "1.0.1" features = ["serde"] [dependencies.bumpalo] version = "3.16.0" features = ["collections"] [dependencies.cgmath] version = "0.18.0" features = ["serde"] [dependencies.context-iterators] version = "0.2.0" [dependencies.delegate] version = "0.13.0" [dependencies.derive_more] version = "1.0.0" features = [ "display", "error", "from", ] [dependencies.downcast-rs] version = "1.2.0" [dependencies.enum_dispatch] version = "0.3.11" [dependencies.fxhash] version = "0.2.1" [dependencies.html-escape] version = "0.2.13" [dependencies.hugr-model] version = "0.14.0" optional = true [dependencies.indexmap] version = "2.3.0" [dependencies.itertools] version = "0.13.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.num-rational] version = "0.4.1" features = ["serde"] [dependencies.paste] version = "1.0" [dependencies.petgraph] version = "0.6.3" default-features = false [dependencies.portgraph] version = "0.12.2" features = [ "serde", "petgraph", ] [dependencies.regex] version = "1.9.5" [dependencies.semver] version = "1.0.23" features = ["serde"] [dependencies.serde] version = "1.0" features = [ "derive", "rc", ] [dependencies.serde_json] version = "1.0.97" [dependencies.serde_yaml] version = "0.9.19" optional = true [dependencies.smol_str] version = "0.3.1" features = ["serde"] [dependencies.strum] version = "0.26.1" [dependencies.strum_macros] version = "0.26.1" [dependencies.thiserror] version = "1.0.28" [dependencies.typetag] version = "0.2.7" [dev-dependencies.cool_asserts] version = "2.0.3" [dev-dependencies.insta] version = "1.34.0" features = ["yaml"] [dev-dependencies.jsonschema] version = "0.26.0" [dev-dependencies.proptest] version = "1.4.0" [dev-dependencies.proptest-derive] version = "0.5.0" [dev-dependencies.regex-syntax] version = "0.8.3" [dev-dependencies.rstest] version = "0.23.0" [dev-dependencies.serde_yaml] version = "0.9.34" [dev-dependencies.urlencoding] version = "2.1.2" [dev-dependencies.webbrowser] version = "1.0.0" [features] declarative = ["serde_yaml"] extension_inference = [] 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)"]