-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (48 loc) · 1.63 KB
/
Cargo.toml
File metadata and controls
53 lines (48 loc) · 1.63 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
# <FILE>Cargo.toml</FILE> - <DESC>Mixed-signals library manifest</DESC>
# <VERS>VERSION: 1.8.0</VERS>
# <WCTX>Pre-launch fixes</WCTX>
# <CLOG>Bumped to 0.2.0, fixed rust-version, removed broken bin target, fixed repo URL</CLOG>
[package]
name = "mixed-signals"
version = "0.2.0"
edition = "2021"
rust-version = "1.75"
authors = ["JAC"]
description = "Generic signal generator library for animations, audio, games, and simulations"
license = "MIT"
repository = "https://github.com/5ocworkshop/mixed-signals"
keywords = ["signal", "animation", "audio", "easing", "procedural"]
categories = ["graphics", "game-development", "multimedia::audio", "mathematics"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
rand = "0.8"
rand_chacha = "0.3"
rand_distr = "0.4"
# Optional dependencies for specific features
ratatui = { version = "0.30.0", optional = true }
crossterm = { version = "0.28", optional = true }
[dev-dependencies]
serde_json = "1.0"
criterion = "0.5"
hound = "3.5" # Pure Rust WAV writer (no system deps)
proptest = "1.4" # Property-based testing for math invariants
[dependencies.hound]
version = "3.5"
optional = true
[dependencies.rodio]
version = "0.19"
optional = true
[features]
default = ["std"]
std = []
visualization = ["ratatui", "crossterm"] # Enable SignalView widget
audio = ["hound"] # Enable WAV file generation
realtime-audio = ["rodio"] # Enable real-time audio (requires ALSA on Linux)
[[example]]
name = "visualizer"
required-features = ["visualization"]
[[bench]]
name = "signal_bench"
harness = false
# <FILE>Cargo.toml</FILE> - <DESC>Mixed-signals library manifest</DESC>
# <VERS>END OF VERSION: 1.8.0</VERS>