-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
107 lines (101 loc) · 2.96 KB
/
Cargo.toml
File metadata and controls
107 lines (101 loc) · 2.96 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
104
105
106
107
[package]
name = "shapemaker"
version = "1.2.2"
rust-version = "1.90"
edition = "2024"
include = ["/src"]
license = "AGPL-3.0"
homepage = "https://gwen.works/shapemaker"
repository = "https://github.com/gwennlbh/shapemaker"
authors = ["Gwenn Le Bihan <gwenn.lebihan7@gmail.com>"]
description = "An experimental WASM-capable, generative SVG-based video rendering engine that reacts to MIDI or audio data"
[workspace]
members = [
"examples/dna-analysis-machine",
"examples/schedule-hell",
"examples/specimen",
"examples/playground",
"xtask",
]
[lib]
crate-type = ["cdylib", "lib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["vst", "video", "video-server", "hotpath"]
vst = [
"rand/thread_rng",
"dep:env_logger",
"dep:nih_plug",
"dep:ws",
"dep:tungstenite",
]
web = ["dep:wasm-bindgen", "dep:serde-wasm-bindgen", "dep:web-sys"]
video = [
"dep:env_logger",
"dep:vgv",
"dep:notify-rust",
"dep:tokio",
"dep:easing-function",
]
video-server = ["dep:axum"]
serde-wasm-bindgen = ["dep:serde-wasm-bindgen"]
hotpath = ["dep:hotpath", "hotpath/hotpath"]
hotpath-alloc = ["hotpath/hotpath-alloc"]
hotpath-off = ["hotpath/hotpath-off"]
[dependencies]
nih_plug = { git = "https://github.com/robbert-vdh/nih-plug.git", features = [
"assert_process_allocs",
], optional = true }
anyhow = "1.0.101"
chrono = "0.4.43"
indicatif = "0.18.3"
itertools = "0.14.0"
midly = "0.5.3"
rand = { version = "0.9.2", default-features = false, features = [
"small_rng",
"std",
"std_rng",
] }
serde_cbor = "0.11.2"
serde_json = "1.0.149"
wasm-bindgen = { version = "0.2.108", optional = true }
getrandom = { version = "0.2", features = ["js"] }
web-sys = { version = "0.3.85", optional = true, features = [
'Document',
'Element',
'HtmlElement',
'Node',
'Window',
] }
once_cell = "1.21.3"
nanoid = "0.4.0"
console = { version = "0.16.2", features = ["windows-console-colors"] }
backtrace = "0.3.76"
slug = "0.1.6"
roxmltree = "0.21.1"
strum = { version = "0.27.2", features = ["strum_macros"] }
strum_macros = "0.27.2"
tiny-skia = "0.11.4"
resvg = "0.46.0"
measure_time = "0.9.0"
env_logger = { version = "0.11.9", optional = true }
log = "0.4.29"
rayon = "1.11.0"
ws = { version = "0.9.2", optional = true }
toml = "0.9.11"
serde = { version = "1.0.228", features = ["derive"] }
url = "2.5.8"
tungstenite = { version = "0.28.0", optional = true }
axum = { version = "0.8.8", optional = true, features = ["json"] }
vgv = { git = "https://github.com/gwennlbh/vgvf", version = "0.1.0", optional = true }
serde-aux = "4.7.0"
notify-rust = { version = "4.12.0", optional = true }
tokio = { version = "1.49.0", optional = true }
easing-function = { version = "0.1.1", optional = true }
quick-xml = "0.39.0"
num = "0.4.3"
serde-wasm-bindgen = { version = "0.6.5", optional = true }
hotpath = { version = "0.10.1", optional = true }
[dev-dependencies]
insta = "1.46.3"
rust-analyzer = "0.0.1"