[package]
edition = "2024"
name = "deq-runtime"
version = "0.3.0"
authors = ["Microsoft Corporation"]
build = "build.rs"
include = [
"src/**/*",
"tests/**/*",
"Cargo.toml",
"build.rs",
"cpp/tesseract/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "deq-runtime-cli"
description = "deq: Real-time Quantum Error Correction Decoding System"
homepage = "https://github.com/microsoft/qdk-ec"
documentation = "https://docs.rs/deq-runtime"
readme = "README.md"
keywords = [
"QEC",
"quantum-computing",
"error-correction",
]
categories = ["science"]
license = "MIT"
repository = "https://github.com/microsoft/qdk-ec"
resolver = "2"
[features]
cli = [
"dep:clap",
"dep:ctrlc",
"dep:log",
"dep:fastrace",
"dep:structdoc",
"dep:indicatif",
"dep:tokio-stream",
"tonic/channel",
"tonic/router",
]
default = [
"cli",
"tesseract",
"simulator",
]
python = [
"dep:pyo3",
"dep:pythonize",
]
python_all = [
"python_binding",
"simulator",
"cli",
"tesseract",
]
python_binding = [
"python",
"pyo3/extension-module",
]
simulator = [
"dep:stim",
"dep:rhai",
]
tesseract = ["dep:cxx"]
[lib]
name = "deq_runtime"
crate-type = [
"lib",
"cdylib",
]
path = "src/lib.rs"
[[bin]]
name = "deq-runtime-cli"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "jit_cancellation_test"
path = "tests/jit_cancellation_test.rs"
[[test]]
name = "jit_compiler_test"
path = "tests/jit_compiler_test.rs"
[[test]]
name = "jit_controller_test"
path = "tests/jit_controller_test.rs"
[[test]]
name = "jit_controller_unit_test"
path = "tests/jit_controller_unit_test.rs"
[[test]]
name = "mock_coordinator_test"
path = "tests/mock_coordinator_test.rs"
[[test]]
name = "mock_decoder_test"
path = "tests/mock_decoder_test.rs"
[[test]]
name = "monolithic_coordinator_test"
path = "tests/monolithic_coordinator_test.rs"
[[test]]
name = "rhai_assert_test"
path = "tests/rhai_assert_test.rs"
[[test]]
name = "stim_sampler_test"
path = "tests/stim_sampler_test.rs"
[[test]]
name = "task_counter_test"
path = "tests/task_counter_test.rs"
[[test]]
name = "window_coordinator_test"
path = "tests/window_coordinator_test.rs"
[dependencies.binar]
version = "0.1.1"
[dependencies.clap]
version = "4.5.30"
features = [
"cargo",
"derive",
]
optional = true
[dependencies.ctrlc]
version = "3.4.0"
optional = true
[dependencies.cxx]
version = "1.0"
optional = true
[dependencies.fastrace]
version = "0.7.14"
features = ["enable"]
optional = true
[dependencies.futures-util]
version = "0.3.31"
[dependencies.hashbrown]
version = "0.16.0"
[dependencies.indicatif]
version = "0.18.2"
optional = true
[dependencies.log]
version = "0.4.28"
optional = true
[dependencies.ndarray]
version = "=0.16.1"
[dependencies.num-traits]
version = "0.2.19"
[dependencies.ordered-float]
version = "5.1.0"
[dependencies.prost]
version = "0.14.1"
[dependencies.pyo3]
version = "0.27.1"
features = [
"multiple-pymethods",
"abi3-py38",
"macros",
"auto-initialize",
"generate-import-lib",
]
optional = true
[dependencies.pythonize]
version = "0.27"
optional = true
[dependencies.rand]
version = "0.10"
[dependencies.rand_distr]
version = "0.6.0"
[dependencies.rand_xoshiro]
version = "0.8.0"
[dependencies.rayon]
version = "1.11.0"
[dependencies.relay-bp]
version = "0.2.2"
[dependencies.rhai]
version = "1"
features = ["sync"]
optional = true
[dependencies.serde]
version = "1.0.217"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = ">=1.0.138, <1.0.142"
features = ["arbitrary_precision"]
[dependencies.sprs]
version = "=0.11.3"
[dependencies.stim]
version = "0.4.1"
optional = true
[dependencies.structdoc]
version = "0.1.4"
optional = true
[dependencies.tokio]
version = "1.48.0"
features = ["rt-multi-thread"]
[dependencies.tokio-stream]
version = "0.1.17"
optional = true
[dependencies.tokio-util]
version = "0.7"
[dependencies.tonic]
version = "0.14.2"
features = [
"codegen",
"server",
]
default-features = false
[dependencies.tonic-prost]
version = "0.14.2"
default-features = false
[dev-dependencies.tempfile]
version = "3"
[build-dependencies.cxx-build]
version = "1.0"
[build-dependencies.tonic-prost-build]
version = "0.14.2"
[profile.release]
debug = 2