[package]
edition = "2024"
rust-version = "1.95"
name = "qrab"
version = "0.1.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A readable quantum-circuit compiler for TikZ, Typst, SVG, and Quirk"
homepage = "https://github.com/inmzhang/qrab"
documentation = "https://docs.rs/qrab"
readme = "README.md"
keywords = [
"quantum",
"circuit",
"typst",
"compiler",
"quirk",
]
categories = [
"command-line-utilities",
"science",
"visualization",
]
license = "MIT"
repository = "https://github.com/inmzhang/qrab"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }{ archive-suffix }"
bin-dir = "{ name }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "txz"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"
[lib]
name = "qrab"
path = "src/lib.rs"
[[bin]]
name = "qrab"
path = "src/main.rs"
[[test]]
name = "artifacts"
path = "tests/artifacts.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "public_api"
path = "tests/public_api.rs"
[[test]]
name = "snapshots"
path = "tests/snapshots.rs"
[[test]]
name = "svg"
path = "tests/svg.rs"
[dependencies.clap]
version = "4.6.6"
features = ["derive"]
[dependencies.logos]
version = "0.16.1"
[dependencies.miette]
version = "7.6.0"
features = ["fancy"]
[dependencies.ratex-layout]
version = "0.1.14"
[dependencies.ratex-parser]
version = "0.1.14"
[dependencies.ratex-svg]
version = "0.1.14"
features = ["embed-fonts"]
[dependencies.ratex-types]
version = "0.1.14"
[dependencies.serde_json]
version = "1.0.151"
[dependencies.thiserror]
version = "2.0.20"
[dev-dependencies.assert_cmd]
version = "2.2.2"
[dev-dependencies.insta]
version = "1.48.0"
[dev-dependencies.predicates]
version = "3.1.4"
[dev-dependencies.quick-xml]
version = "0.42.0"
[lints.clippy]
all = "warn"
[lints.rust]
unsafe_code = "forbid"
[profile.dist]
lto = "thin"
inherits = "release"
[profile.release]
lto = "thin"
strip = true