[package]
build = "build.rs"
name = "concision-math"
authors.workspace = true
categories.workspace = true
description.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
[features]
default = ["std"]
full = ["approx", "complex", "default", "serde", "signal", "tracing"]
signal = ["complex", "rustfft"]
alloc = ["num/alloc", "rand?/alloc", "serde?/alloc"]
approx = ["dep:approx", "ndarray/approx"]
blas = ["ndarray/blas"]
complex = ["dep:num-complex"]
rand = ["dep:rand", "num-complex?/rand", "num/rand", "rng"]
rayon = ["dep:rayon", "ndarray/rayon"]
rng = ["dep:getrandom", "rand?/small_rng"]
rustfft = ["dep:rustfft"]
serde = ["dep:serde", "dep:serde_derive", "ndarray/serde", "num-complex?/serde", "num/serde"]
tracing = ["dep:tracing"]
std = [
"alloc",
"ndarray/std",
"num-complex?/std",
"num-traits/std",
"num/std",
"rand?/std",
"scsys/std",
"serde/std",
"strum/std",
"thiserror/std",
"tracing?/std"
]
[lib]
crate-type = ["cdylib", "rlib"]
doctest = true
test = true
[build-dependencies]
[dependencies]
scsys = { workspace = true }
scsys-derive = { workspace = true }
approx = { optional = true, workspace = true }
ndarray = { workspace = true }
num = { workspace = true }
num-complex = { optional = true, workspace = true }
num-traits = { workspace = true }
rayon = { optional = true, workspace = true }
rustfft = { optional = true, workspace = true }
serde = { default-features = false, optional = true, workspace = true }
serde_derive = { optional = true, workspace = true }
strum = { workspace = true }
thiserror = { workspace = true }
tracing = { optional = true, workspace = true }
getrandom = { default-features = false, optional = true, workspace = true }
rand = { optional = true, workspace = true }
[dev-dependencies]
lazy_static = { workspace = true }
[[test]]
name = "fft"
path = "tests/fft.rs"
required-features = ["approx", "std"]