[package]
edition = "2024"
rust-version = "1.85"
name = "dnoise"
version = "0.1.0"
authors = ["Patrick Garrett <pgarrett@scripps.edu>"]
build = false
exclude = [
"/.github",
"/dnoise-gui",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Denoise Bruker timsTOF .d folders with an iterative vertical ion-mobility feature filter (CLI + library)."
homepage = "https://github.com/pgarrett-scripps/dnoise"
documentation = "https://docs.rs/dnoise"
readme = "README.md"
keywords = [
"mass-spectrometry",
"proteomics",
"timstof",
"denoising",
"bruker",
]
categories = [
"science",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/pgarrett-scripps/dnoise"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
cli = [
"config",
"dep:anyhow",
"dep:clap",
"dep:indicatif",
"dep:serde_json",
"dep:tracing-subscriber",
]
config = [
"dep:serde",
"dep:toml",
]
default = ["cli"]
[lib]
name = "dnoise"
path = "src/lib.rs"
[[bin]]
name = "dnoise"
path = "src/main.rs"
required-features = ["cli"]
[[example]]
name = "bench_filter"
path = "examples/bench_filter.rs"
[[example]]
name = "cancel_check"
path = "examples/cancel_check.rs"
[[example]]
name = "check_codec"
path = "examples/check_codec.rs"
[[example]]
name = "dump_frame"
path = "examples/dump_frame.rs"
[[example]]
name = "validate"
path = "examples/validate.rs"
[[example]]
name = "zstd_probe"
path = "examples/zstd_probe.rs"
[[test]]
name = "average"
path = "tests/average.rs"
[[test]]
name = "filter"
path = "tests/filter.rs"
[[test]]
name = "halo"
path = "tests/halo.rs"
[[test]]
name = "msms"
path = "tests/msms.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "streaming"
path = "tests/streaming.rs"
[[test]]
name = "watershed"
path = "tests/watershed.rs"
[dependencies.anyhow]
version = "1.0.102"
optional = true
[dependencies.clap]
version = "4.6.1"
features = ["derive"]
optional = true
[dependencies.indicatif]
version = "0.18.4"
optional = true
[dependencies.rayon]
version = "1.12.0"
[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dependencies.thiserror]
version = "2.0.18"
[dependencies.timsrust]
version = "0.4.2"
[dependencies.toml]
version = "1.1.2"
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true
[dependencies.zstd]
version = "0.13.3"
[profile.profiling]
debug = 2
inherits = "release"
[profile.release]
lto = "thin"
codegen-units = 1