82 lines
1.5 KiB
TOML
82 lines
1.5 KiB
TOML
[workspace]
|
|
members = [".", "xtask", "web"]
|
|
default-members = ["."]
|
|
resolver = "2"
|
|
|
|
[package]
|
|
name = "yr_crystals"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
crate-type = ["rlib", "staticlib", "cdylib"]
|
|
|
|
[[bin]]
|
|
name = "yr_crystals"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
rustfft = "6"
|
|
num-complex = "0.4"
|
|
|
|
# core audio
|
|
cpal = "0.16"
|
|
ringbuf = "0.4"
|
|
crossbeam-channel = "0.5"
|
|
rubato = "0.14"
|
|
|
|
# file decoding
|
|
symphonia = { version = "0.5", default-features = false, features = [
|
|
"pcm", "wav", "flac", "ogg", "vorbis",
|
|
"mp3", "aac", "alac", "isomp4", "adpcm",
|
|
] }
|
|
|
|
# iced/wgpu
|
|
wgpu = "27"
|
|
raw-window-handle = "0.6"
|
|
pollster = "0.4"
|
|
smol_str = "0.2"
|
|
iced_wgpu = "0.14"
|
|
iced_graphics = "0.14"
|
|
iced_runtime = "0.14"
|
|
iced_widget = { version = "0.14", features = ["wgpu", "image", "canvas", "svg", "lazy"] }
|
|
|
|
# tag and cover-art reading
|
|
lofty = "0.22"
|
|
image = "0.25"
|
|
|
|
# visualizer wgpu
|
|
bytemuck = { version = "1", features = ["derive"] }
|
|
|
|
# concurrency
|
|
rayon = "1.10"
|
|
arc-swap = "1.7"
|
|
|
|
# settings persistence
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# desktop shell deps
|
|
[target.'cfg(all(not(target_os = "ios"), not(target_os = "android")))'.dependencies]
|
|
winit = "0.30"
|
|
rfd = "0.15"
|
|
|
|
# android shell deps
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
jni = "0.21"
|
|
ndk = { version = "0.9", features = ["api-level-28"] }
|
|
ndk-context = "0.1"
|
|
android_logger = "0.14"
|
|
log = "0.4"
|
|
libc = "0.2"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
|
|
[profile.release-debug]
|
|
inherits = "release"
|
|
debug-assertions = true
|