| 1 |
[package] |
| 2 |
|
| 3 |
name = "rustfft" |
| 4 |
version = "6.2.0" |
| 5 |
authors = ["Allen Welkie <allen.welkie at gmail>", "Elliott Mahler <join.together at gmail>"] |
| 6 |
edition = "2018" |
| 7 |
|
| 8 |
description = "High-performance FFT library written in pure Rust." |
| 9 |
documentation = "https://docs.rs/rustfft/" |
| 10 |
repository = "https://github.com/ejmahler/RustFFT" |
| 11 |
keywords = ["fft", "dft", "discrete", "fourier", "transform"] |
| 12 |
categories = ["algorithms", "compression", "multimedia::encoding", "science"] |
| 13 |
license = "MIT OR Apache-2.0" |
| 14 |
|
| 15 |
[features] |
| 16 |
default = ["avx", "sse", "neon"] |
| 17 |
|
| 18 |
# On x86_64, the "avx" feature enables compilation of AVX-acclerated code. |
| 19 |
# Similarly, the "sse" feature enables compilation of SSE-accelerated code. |
| 20 |
# Enabling these improves performance if the client CPU supports AVX or SSE, while disabling them reduces compile time and binary size. |
| 21 |
# If both are enabled, RustFFT will use AVX if the CPU supports it. If not, it will check for SSE4.1. |
| 22 |
# If neither instruction set is available, it will fall back to the scalar code. |
| 23 |
# |
| 24 |
# On AArch64, the "neon" feature enables compilation of Neon-accelerated code. |
| 25 |
# |
| 26 |
# On wasm32, the "wasm_simd" feature enables compilation of Wasm SIMD accelerated code. |
| 27 |
# |
| 28 |
# For all of the above features, on every platform other than the intended platform for the feature, these features do nothing, and RustFFT will behave like they are not set. |
| 29 |
avx = [] |
| 30 |
sse = [] |
| 31 |
neon = [] |
| 32 |
wasm_simd = [] |
| 33 |
|
| 34 |
|
| 35 |
[dependencies] |
| 36 |
num-complex = "0.4" |
| 37 |
num-traits = "0.2" |
| 38 |
num-integer = "^0.1.40" |
| 39 |
strength_reduce = "0.2.4" |
| 40 |
transpose = "0.2" |
| 41 |
primal-check = "0.3.3" |
| 42 |
|
| 43 |
[dev-dependencies] |
| 44 |
rand = "0.8" |
| 45 |
paste = "1.0.9" |
| 46 |
getrandom = {version = "^0.2", features = ["js"]} |
| 47 |
wasm-bindgen-test = "^0.3.36" |
| 48 |
|
| 49 |
[build-dependencies] |
| 50 |
version_check = "0.9" |