-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (61 loc) · 1.54 KB
/
Copy pathCargo.toml
File metadata and controls
74 lines (61 loc) · 1.54 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[package]
name = "grepgrep"
version = "0.1.0"
edition = "2021"
description = "A modern audio transcription tool"
authors = ["Tunghohin"]
[dependencies]
# GUI Framework
egui = "0.29"
eframe = "0.29"
# CLI
clap = { version = "4.5", features = ["derive"] }
# Audio Processing
symphonia = { version = "0.5", features = ["all"] }
cpal = "0.15"
# Analysis
rustfft = "6.2"
realfft = "3.4"
num-complex = "0.4"
# Concurrency & Utilities
crossbeam = "0.8"
parking_lot = "0.12"
anyhow = "1.0"
thiserror = "2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tempfile = "3.14"
zip = { version = "0.6", default-features = false, features = ["deflate"] }
# File Dialog
rfd = "0.15"
# Logging
tracing = "0.1"
tracing-subscriber = "0.3"
[target.'cfg(windows)'.dependencies]
# Windows-specific dependencies
winapi = { version = "0.3", features = ["winuser", "windef", "libloaderapi"], optional = true }
[target.'cfg(target_os = "linux")'.dependencies]
# Linux-specific dependencies for audio
libpulse-binding = { version = "2.28", optional = true }
libpulse-simple-binding = { version = "2.28", optional = true }
[features]
default = []
# Windows-specific features
windows-optimized = ["winapi"]
# Linux-specific features
linux-pulseaudio = ["libpulse-binding", "libpulse-simple-binding"]
# Development features
dev = []
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
# Cross-compilation profiles
[profile.release-windows]
inherits = "release"
opt-level = 3
lto = true
[profile.release-linux]
inherits = "release"
opt-level = 3
lto = true