-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
37 lines (32 loc) · 1.07 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
[workspace]
members = [
"rustft",
"benchmarks",
"example",
]
resolver = "2"
[workspace.package]
name = "rustft"
version = "0.0.14"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "WIP. STFT and ISTFT in Rust matching PyTorch"
readme = "README.md"
homepage = "https://github.com/phudtran/rustft"
repository = "https://github.com/phudtran/rustft"
categories = ["multimedia::audio", "mathematics", "algorithms", "multimedia"]
keywords = ["audio", "ISTFT", "STFT", "spectrogram", "signal_processing"]
[workspace.dependencies]
rustft = { path = "./rustft", package = "rustft"}
benchmarks = { path = "./benchmarks", package = "benchmarks" }
example = { path = "./example", package = "example"}
[profile.release]
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true # Enables link to optimizations
opt-level = "z" # Optimize for binary size
strip = true # Remove debug symbols
rpath = true
[profile.release-with-debug]
inherits = "release"
debug = true