hugr-cli 0.25.5

Compiler passes for Quantinuum's HUGR
Documentation
# 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 = "2024"
rust-version = "1.89"
name = "hugr-cli"
version = "0.25.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compiler passes for Quantinuum's HUGR"
homepage = "https://github.com/quantinuum/hugr"
documentation = "https://docs.rs/hugr-cli/"
readme = "README.md"
keywords = [
    "Quantum",
    "Quantinuum",
]
categories = ["compilers"]
license = "Apache-2.0"
repository = "https://github.com/quantinuum/hugr"
resolver = "2"

[package.metadata.cargo-semver-checks.lints]
workspace = true
enum_missing = "warn"
struct_missing = "warn"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/{ name }-v{ version }/{ name }-{ target }{ archive-suffix }"

[features]
default = ["tracing"]
tracing = [
    "dep:tracing",
    "dep:tracing-subscriber",
]

[lib]
name = "hugr_cli"
path = "src/lib.rs"
bench = false

[[bin]]
name = "hugr"
path = "src/main.rs"
bench = false
doc = false

[[test]]
name = "convert"
path = "tests/convert.rs"

[[test]]
name = "describe"
path = "tests/describe.rs"

[[test]]
name = "external"
path = "tests/external.rs"

[[test]]
name = "gen_extensions"
path = "tests/gen_extensions.rs"

[[test]]
name = "validate"
path = "tests/validate.rs"

[dependencies.anyhow]
version = "1.0.100"

[dependencies.clap]
version = "4.5.56"
features = [
    "derive",
    "cargo",
]

[dependencies.clap-verbosity-flag]
version = "3.0.4"

[dependencies.clio]
version = "0.3.5"
features = ["clap-parse"]

[dependencies.derive_more]
version = "2.1.1"
features = [
    "display",
    "error",
    "from",
]

[dependencies.hugr]
version = "0.25.5"

[dependencies.schemars]
version = "1.2.1"
features = ["derive"]

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.tabled]
version = "0.20.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"
optional = true

[dependencies.tracing-subscriber]
version = "0.3.20"
features = ["fmt"]
optional = true

[dev-dependencies.assert_cmd]
version = "2.1"

[dev-dependencies.assert_fs]
version = "1.1.3"

[dev-dependencies.predicates]
version = "3.1.0"

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.tempfile]
version = "3.24"

[lints.clippy]
debug_assert_with_mut_call = "warn"
too_long_first_doc_paragraph = "warn"

[lints.rust]
missing_docs = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(ci_run)",
    "cfg(coverage,coverage_nightly)",
]