# 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 = "2024"
name = "muscat"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multithreaded Side Channel Attacks Tool"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Ledger-Donjon/muscat"

[features]
progress_bar = ["dep:indicatif"]
quicklog = []

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

[[example]]
name = "collision"
path = "examples/collision.rs"

[[example]]
name = "cpa"
path = "examples/cpa.rs"

[[example]]
name = "cpa_normal"
path = "examples/cpa_normal.rs"

[[example]]
name = "dpa"
path = "examples/dpa.rs"

[[example]]
name = "nicv"
path = "examples/nicv.rs"

[[example]]
name = "rank"
path = "examples/rank.rs"
required-features = ["progress_bar"]

[[example]]
name = "snr"
path = "examples/snr.rs"

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

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

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

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

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

[dependencies.dtw]
version = "0.1.0"

[dependencies.hex]
version = "0.4.3"

[dependencies.indicatif]
version = "0.17.8"
optional = true

[dependencies.itertools]
version = "0.13.0"

[dependencies.ndarray]
version = "0.16.1"
features = ["serde"]

[dependencies.ndarray-npy]
version = "0.9.1"

[dependencies.npyz]
version = "0.8.3"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.rayon]
version = "1.10.0"

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

[dependencies.serde_json]
version = "1.0.132"

[dependencies.thiserror]
version = "1.0.58"

[dev-dependencies.anyhow]
version = "1.0.98"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.gnuplot]
version = "0.0.45"

[dev-dependencies.ndarray-rand]
version = "0.15.0"

[profile.release-with-debug]
debug = 2
inherits = "release"
strip = "none"
