exg 0.0.5

EXG (EEG/ECG/EMG) preprocessing — native Rust DSP + FIF reader, numerical parity with MNE-Python
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "exg"
version = "0.0.5"
authors = ["Eugene Hauptmann"]
build = false
exclude = [
    "data/*",
    "scripts/",
    "tests/vectors/",
    "comparison",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "EXG (EEG/ECG/EMG) preprocessing — native Rust DSP + FIF reader, numerical parity with MNE-Python"
homepage = "https://github.com/eugenehp/exg"
documentation = "https://docs.rs/exg"
readme = "README.md"
keywords = [
    "exg",
    "eeg",
    "ecg",
    "emg",
    "mne",
]
categories = [
    "science",
    "mathematics",
]
license = "GPL-3.0-only"
repository = "https://github.com/eugenehp/exg"

[features]
default = ["source"]
hdf5 = ["dep:hdf5"]
source = ["dep:exg-source"]

[lib]
name = "exg"
path = "src/lib.rs"

[[bin]]
name = "pipeline_steps"
path = "src/bin/pipeline_steps.rs"

[[bin]]
name = "preproc"
path = "src/bin/preproc.rs"

[[test]]
name = "common"
path = "tests/common.rs"

[[test]]
name = "test_epoch"
path = "tests/test_epoch.rs"

[[test]]
name = "test_fiff"
path = "tests/test_fiff.rs"

[[test]]
name = "test_filter"
path = "tests/test_filter.rs"

[[test]]
name = "test_full_parity"
path = "tests/test_full_parity.rs"

[[test]]
name = "test_normalize"
path = "tests/test_normalize.rs"

[[test]]
name = "test_parity"
path = "tests/test_parity.rs"

[[test]]
name = "test_pipeline"
path = "tests/test_pipeline.rs"

[[test]]
name = "test_reference"
path = "tests/test_reference.rs"

[[test]]
name = "test_resample"
path = "tests/test_resample.rs"

[[bench]]
name = "fiff_read"
path = "benches/fiff_read.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.exg-source]
version = "0.0.5"
optional = true

[dependencies.hdf5]
version = "0.8"
optional = true

[dependencies.ndarray]
version = "0.17.2"
features = ["rayon"]

[dependencies.rayon]
version = "1"

[dependencies.rustfft]
version = "6"

[dependencies.safetensors]
version = "0.7"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

[profile.release]
opt-level = 3
lto = "thin"