[package]
edition = "2024"
rust-version = "1.95"
name = "tdc_toolkit"
version = "0.4.2"
build = "build.rs"
links = "mhlib"
exclude = [
".devcontainer",
".editorconfig",
".github",
".vscode",
"benches",
"sample_*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust CLI and library, as well as Python bindings, for working with time-to-digital converters (TDCs) such as the PicoQuant MultiHarp 160."
readme = "README.md"
keywords = [
"tdc",
"multiharp",
"physics",
"quantum",
]
categories = [
"api-bindings",
"command-line-utilities",
"date-and-time",
"science",
]
license = "BSD-3-Clause"
repository = "https://github.com/moonshot-nagayama-pj/tdc_toolkit"
[features]
multiharp = []
python = ["dep:pyo3"]
[lib]
name = "tdc_toolkit"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "tdc_toolkit"
path = "src/bin/tdc_toolkit.rs"
[dependencies.anyhow]
version = "1.0.99"
[dependencies.arrow]
version = "56.0.0"
[dependencies.bitflags]
version = "2.10.0"
[dependencies.chrono]
version = "0.4.41"
[dependencies.clap]
version = "4.5.45"
features = ["derive"]
[dependencies.humantime]
version = "2.2.0"
[dependencies.indicatif]
version = "0.18.0"
[dependencies.parquet]
version = "56.0.0"
[dependencies.pyo3]
version = "0.26"
features = ["anyhow"]
optional = true
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.143"
[dependencies.strum]
version = "0.27.2"
[dependencies.strum_macros]
version = "0.27.2"
[dev-dependencies.criterion]
version = "0.7.0"
[dev-dependencies.yare]
version = "3.0.0"
[build-dependencies.bindgen]
version = "0.72.0"
[lints.clippy]
all = "deny"
cargo = "deny"
pedantic = "deny"
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1