[package]
name = "hugr-model"
version = "0.25.3"
readme = "README.md"
documentation = "https://docs.rs/hugr-model/"
description = "Data model for Quantinuum's HUGR intermediate representation"
keywords = ["Quantum", "Quantinuum"]
categories = ["compilers"]
rust-version.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true

[lib]
bench = false

[dependencies]
base64 = { workspace = true }
bumpalo = { workspace = true, features = ["collections"] }
capnp = { workspace = true }
derive_more = { workspace = true, features = ["display", "error", "from"] }
indexmap.workspace = true
itertools.workspace = true
ordered-float = { workspace = true }
pest = { workspace = true }
pest_derive = { workspace = true }
pretty = { workspace = true }
rustc-hash.workspace = true
semver = { workspace = true }
smol_str = { workspace = true, features = ["serde"] }
thiserror.workspace = true
pyo3 = { workspace = true, optional = true, features = ["extension-module"] }

[features]
pyo3 = ["dep:pyo3"]

[lints]
workspace = true

[dev-dependencies]
insta = { workspace = true }
pretty_assertions = { workspace = true }
proptest = { workspace = true }
proptest-derive = { workspace = true }
