-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
103 lines (89 loc) · 2.56 KB
/
Cargo.toml
File metadata and controls
103 lines (89 loc) · 2.56 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[package]
name = "math-sonify"
version = "1.3.0"
edition = "2021"
rust-version = "1.75"
description = "Real-time procedural audio from mathematical dynamical systems (Lorenz, Rossler, Double Pendulum, and more)"
license = "MIT"
repository = "https://github.com/Mattbusel/math-sonify"
homepage = "https://github.com/Mattbusel/math-sonify"
keywords = ["audio", "chaos", "dynamical-systems", "synthesis", "generative"]
categories = ["multimedia::audio", "science", "simulation"]
authors = ["Matt Busel <matt@mattbusel.com>"]
readme = "README.md"
documentation = "https://docs.rs/math-sonify"
exclude = [
"release/",
"screenshots/",
"docs/bifurcation.png",
"docs/portrait_*.png",
"patch_*.py",
"build_release.bat",
"math_sonify_vision.pdf",
]
[[bin]]
name = "math-sonify"
path = "src/main.rs"
[lib]
name = "math_sonify_plugin"
path = "src/plugin.rs"
crate-type = ["cdylib", "rlib"]
[dependencies]
# Audio I/O
cpal = "0.15"
# GUI
eframe = { version = "0.27", features = ["default"] }
egui = "0.27"
# Config + serialization
toml = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
notify = "6"
# Concurrency utilities
crossbeam-channel = "0.5"
parking_lot = "0.12"
rayon = "1"
anyhow = "1"
thiserror = "1"
log = "0.4"
env_logger = "0.11"
hound = "3.5"
midir = "0.9"
rustfft = "6"
midly = "0.5"
png = "0.17"
# OSC collaborative sync (optional — enable with --features osc)
rosc = { version = "0.10", optional = true }
# Tracing instrumentation
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# VST3/CLAP plugin support
nih_plug = { git = "https://github.com/robbert-vdh/nih-plug", rev = "28b149ec4d62757d0b448809148a0c3ca6e09a95", features = ["assert_process_allocs"] }
nih_plug_egui = { git = "https://github.com/robbert-vdh/nih-plug", rev = "28b149ec4d62757d0b448809148a0c3ca6e09a95", package = "nih_plug_egui" }
[features]
# Enable OSC collaborative sync (adds the `rosc` dependency).
osc = ["rosc"]
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = "debuginfo"
panic = "abort"
[profile.dev]
opt-level = 1
[profile.bench]
opt-level = 3
lto = "thin"
[lints.clippy]
# Allow common false-positive triggers in audio DSP code
cast_precision_loss = "allow"
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
module_name_repetitions = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
# DSP/audio code legitimately indexes into fixed-size audio buffers
indexing_slicing = "allow"
# These fire too many false positives in plugin/DSP code
derivable_impls = "allow"
manual_clamp = "allow"