-
Notifications
You must be signed in to change notification settings - Fork 18
/
Cargo.toml
53 lines (48 loc) · 1.41 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "spectrum-analyzer"
description = """
An easy to use and fast `no_std` library (with `alloc`) to get the frequency
spectrum of a digital signal (e.g. audio) using FFT.
"""
version = "1.5.0"
authors = ["Philipp Schuster <phip1611@gmail.com>"]
edition = "2021"
keywords = ["fft", "spectrum", "frequencies", "audio", "dsp"]
categories = ["multimedia", "no-std"]
readme = "README.md"
license = "MIT"
homepage = "https://github.com/phip1611/spectrum-analyzer"
repository = "https://github.com/phip1611/spectrum-analyzer"
documentation = "https://docs.rs/spectrum-analyzer"
exclude = [
"res",
"test",
".github"
]
[[bench]]
name = "fft_spectrum_bench"
harness = false
[dependencies]
microfft = { version = "0.5.1", features = ["size-16384"] }
# approx. compare floats; not only in tests but also during runtime
float-cmp = "0.9.0"
# sin() cos() log10() etc for no_std-environments; these are not part of Core library
libm = "0.2.7"
paste = "1.0.14"
[dev-dependencies]
# readmp3 files in tests and examples
minimp3 = "0.5.1"
# visualize spectrum in tests and examples
audio-visualizer = "0.4.0"
# get audio input in examples
cpal = "0.15.2"
# audio data buffering
ringbuffer = "0.15.0"
rand = "0.8.5" # for benchmark
# exit in examples
ctrlc = "~3.3.1" # locked because of repo MSRV
# for benchmark
criterion = "~0.4.0" # locked because of repo MSRV
# otherwise FFT and other code is too slow
[profile.dev]
opt-level = 1