[package]
name = "hugr-persistent"
version = "0.7.0"
edition = { workspace = true }
rust-version = { workspace = true }
license = { workspace = true }
readme = "README.md"
documentation = "https://docs.rs/hugr-persistent/"
homepage = { workspace = true }
repository = { workspace = true }
description = "Persistent IR structure for Quantinuum's HUGR"
keywords = ["Quantum", "Quantinuum"]
categories = ["compilers", "science::quantum-computing"]

[[test]]
name = "persistent_walker_example"

[dependencies]
hugr-core = { path = "../hugr-core", version = "0.28.0" }

derive_more = { workspace = true, features = [
    "display",
    "error",
    "from",
    "debug",
] }
delegate.workspace = true
itertools.workspace = true
petgraph.workspace = true
portgraph.workspace = true
relrc = { workspace = true, features = ["petgraph", "serde"] }
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
wyhash.workspace = true

[lints]
workspace = true

[lib]
bench = false

[dev-dependencies]
rstest.workspace = true
semver.workspace = true
serde_with.workspace = true
insta = { workspace = true, features = ["yaml"] }
