-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
97 lines (79 loc) · 2.37 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
91
92
93
94
95
96
97
[package]
name = "xmodits-gui"
authors = ["B0ney <https://github.com/B0ney>"]
description = "XMODITS graphical application"
version = "0.12.3"
edition = "2021"
build = "build.rs"
license = "GPLv3"
repository = "https://github.com/B0ney/xmodits"
[features]
default = ["built", "audio", "iced_gif", "manual"]
audio = ["dep:audio_engine", "dep:dasp"]
wgpu = ["iced/wgpu"]
manual = ["data/manual"]
backtrace = []
[workspace]
members = ["data", "audio_engine"]
[workspace.dependencies]
tokio = { version = "1", features = ["sync", "fs", "io-util", "parking_lot"] }
dirs = "5"
anyhow = "1"
tracing = "0.1"
[workspace.dependencies.xmodits-lib]
git = "https://github.com/B0ney/xmodits-lib.git"
rev = "771c354"
features = ["serde"]
[workspace.dependencies.iced]
version = "0.12.0"
# git = "https://github.com/iced-rs/iced.git"
# rev = "9e3ad0e1e025232f93ef04bc79328c3444839a34" # 0.12.0
default-features = false
features = ["image", "tokio", "multi-window", "advanced", "canvas"]
[dependencies.iced_gif]
git = "https://github.com/B0ney/iced_gif.git"
branch = "iced_12"
optional = true
[dependencies.rfd]
version = "0.13"
default-features = false
features = ["xdg-portal", "tokio"]
[dependencies]
data = { path = "data" }
audio_engine = { path = "audio_engine", optional = true }
tokio.workspace = true
dirs.workspace = true
anyhow.workspace = true
tracing.workspace = true
xmodits-lib.workspace = true
iced.workspace = true
tracing-subscriber = "0.3"
open = "5"
walkdir = "2"
rand = "0.8"
parking_lot = "0.12"
rayon = "1"
once_cell = "1"
tempfile = "3"
dasp = { version = "0.11.0", features = ["interpolate-linear"], optional = true }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.52", features = ["Win32_System_Console", "Win32_Foundation"] }
[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = { version = "0.5", optional = true }
[build-dependencies]
built = { version = "0.7", features = ["chrono", "git2"], optional = true }
[target.'cfg(windows)'.build-dependencies]
winresource = "0.1"
static_vcruntime = "2"
[package.metadata.winresource]
OriginalFilename = "XMODITS.EXE"
Comments = "This software is licensed under GPLv3. You can obtain the source code here: https://github.com/B0ney/xmodits/"
[profile.dev]
split-debuginfo = "packed"
incremental = true
[profile.release]
strip = true
opt-level = "s"
codegen-units = 1
[profile.release.package.xmodits-lib]
opt-level = 3