-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCargo.toml
90 lines (77 loc) · 2.89 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
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
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
homepage = "https://www.notation.fun"
repository = "https://github.com/notation-fun/notation"
[workspace]
resolver = "2"
members = [
"model/notation_core",
"model/notation_fretted",
"model/notation_proto",
"model/notation_model",
"dsl/notation_dsl",
"dsl/notation_tab",
"dsl/notation_macro",
"bevy/notation_audio",
"bevy/notation_midi",
"views/tab_viewer",
"apps/notation_kb",
"apps/notation_tabs",
"apps/notation_viewer",
]
# https://rustwasm.github.io/book/reference/code-size.html
[profile.release]
lto = true
# opt-level = 's'
opt-level = 'z'
[profile.dev]
opt-level = 1
[patch.crates-io]
[workspace.dependencies]
notation_core = { path = "model/notation_core", version = "0.6.0" }
notation_fretted = { path = "model/notation_fretted", version = "0.6.0" }
notation_guitar = { path = "model/notation_guitar", version = "0.6.0" }
notation_proto = { path = "model/notation_proto", version = "0.6.0" }
notation_model = { path = "model/notation_model", version = "0.6.0" }
notation_dsl = { path = "dsl/notation_dsl", version = "0.6.0" }
notation_macro = { path = "dsl/notation_macro", version = "0.6.0" }
notation_tab = { path = "dsl/notation_tab", version = "0.6.0" }
notation_audio = { path = "bevy/notation_audio", version = "0.6.0" }
notation_midi = { path = "bevy/notation_midi", version = "0.6.0" }
edger_bevy = "0.5.0"
# edger_bevy = { path = "../../edger-dev/edger_bevy" }
fehler = "1.0"
serde = { version = "1.0", features = ["derive", "alloc"] }
# https://github.com/serde-rs/serde/issues/1937
serde_arrays = "0.1"
uuid = { version = "1.2", features = ["serde", "v4"] }
ron = "0.8"
thiserror = "1.0"
anyhow = "1.0"
float_eq = "1.0"
rand = "0.8"
getrandom = { version = "0.2", features=["wasm-bindgen"] }
lazy_static = "1.4"
rfd = "0.14.0"
unic-langid = { version = "0.9", features = [ "macros" ] }
clap = { version = "4.0", features = [ "derive" ] }
bevy = { version = "0.14.0", default-features = false }
bevy_prototype_lyon = "0.12.0"
bevy_easings = "0.14.0"
bevy_asset_loader = { version = "0.21.0", features = [ "standard_dynamic_assets" ]}
# https://github.com/bevyengine/bevy/issues/11964
bitflags = { version = "2.3", features = ["serde"] }
bevy_egui = { version = "0.28.0" }
egui_plot = { version = "0.28.1" }
# [target.'cfg(target_arch = "wasm32")'.workspace.dependencies]
wasm-bindgen = "0.2.92"
console_error_panic_hook = "0.1.7"
gloo-events = "0.2.0"
futures = "0.3.30"
web-sys = { version = "0.3.69", features = [
"Element", "Document", "Window", "Location", "Url", "UrlSearchParams", "console", "TouchEvent",
#https://rustwasm.github.io/docs/wasm-bindgen/examples/web-audio.html
"AudioContext", "AudioDestinationNode", "AudioNode", "AudioParam", "GainNode", "OscillatorNode", "OscillatorType",
]}