[workspace]
members = [
    "compiler/qsc",
    "compiler/qsc_ast",
    "compiler/qsc_codegen",
    "compiler/qsc_data_structures",
    "compiler/qsc_doc_gen",
    "compiler/qsc_eval",
    "compiler/qsc_fir",
    "compiler/qsc_frontend",
    "compiler/qsc_hir",
    "compiler/qsc_parse",
    "compiler/qsc_passes",
    "compiler/qsc_project",
    "fuzz",
    "katas",
    "language_service",
    "library",
    "pip",
    "resource_estimator",
    "wasm",
]
resolver = "2"

[workspace.package]
authors = ["Microsoft"]
homepage = "https://github.com/microsoft/qsharp"
repository = "https://github.com/microsoft/qsharp"
edition = "2021"
license = "MIT"
version = "0.0.0"

[workspace.dependencies]
bitflags = "2.4.2"
clap = "4.4"
criterion = { version = "0.5", default-features = false }
enum-iterator = "1.5"
env_logger = "0.10"
expect-test = "1.4"
futures = "0.3"
futures-util = "0.3"
fasteval = "0.2"
getrandom = "0.2"
indoc = "2.0"
js-sys = "0.3"
libfuzzer-sys = "0.4"
log = "0.4"
miette = "5.10"
thiserror = "1.0"
num-bigint = "0.4"
num-complex = "0.4"
num-traits = "0.2"
probability = "0.20"
indenter = "0.3"
regex-lite = "0.1"
rustc-hash = "1.1.0"
serde = "1.0"
serde-wasm-bindgen = "0.6"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
rand = "0.8"
serde_json = "1.0"
pyo3 = "0.20"
quantum-sparse-sim = { git = "https://github.com/qir-alliance/qir-runner", rev = "e7de80bf06dcaf69367576ec31f901c0496a9832", default-features = false }
async-trait = "0.1"
tokio = { version = "1.35", features = ["macros", "rt"] }

[profile.release]
debug = 1
strip = true
lto = "fat"
codegen-units = 1

[profile.release.package.fuzz]
codegen-units = 16
