[workspace]
members = []
exclude = ["fuzz"]

[package]
name = "osclet"
version = "0.4.2"
edition = "2024"
description = "Play with wavelets! Or they will play with you."
readme = "README.md"
keywords = ["dwt", "wavelet", "dsp"]
license = "BSD-3-Clause OR Apache-2.0"
authors = ["Radzivon Bartoshyk"]
documentation = "https://github.com/awxkee/osclet"
categories = ["mathematics", "algorithms", "science"]
homepage = "https://github.com/awxkee/osclet"
repository = "https://github.com/awxkee/osclet"
exclude = ["*.jpg", "/assets", "*.png", "*.sh", "/assets/*"]
include = ["/src/", "/README.md", "/LICENSE.md", "/LICENSE-APACHE.md"]
rust-version = "1.88.0"

[dependencies]
num-traits = "0.2.19"

[dev-dependencies]
rand = "0.10.0"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
getrandom = { version = "0.4.2", features = ["wasm_js"] }
wasm-bindgen-test = "0.3.64"

[features]
default = ["neon", "avx", "sse", "wasm"]
# AVX2 + FMA SIMD
avx = []
# NEON SIMD
neon = []
# SSE 4.2
sse = []
# Wasm SIMD128
wasm = []

[package.metadata.docs.rs]
# To build locally:
# RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --no-deps --open --manifest-path ./Cargo.toml
all-features = true
rustdoc-args = ["--cfg", "docsrs"]