-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (60 loc) · 2.57 KB
/
Copy pathCargo.toml
File metadata and controls
69 lines (60 loc) · 2.57 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
[package]
name = "grape"
version = "0.3.2"
edition = "2021"
license = "GPL-3.0-or-later"
description = "Desktop music player for a local library: scan, browse, play"
repository = "https://github.com/Project-Colony/Grape"
# The floor to build the binary, set by ordered-float 5.5.0 reached through
# iced -> iced_wgpu -> wgpu-hal. Derived with `cargo metadata`, not chosen.
rust-version = "1.90"
[dependencies]
iced = { version = "0.14.0", features = ["advanced", "image", "tokio"] }
lofty = "0.25.1"
rodio = "0.22.2"
biquad = "0.6.0"
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.151"
tracing = "0.1.44"
tracing-subscriber = "0.3.23"
rfd = "0.17.2"
unicode-normalization = "0.1.25"
# The shared Colony design system: palettes, accents, labels, the Colony
# filesystem layout and the common widgets. Not published to crates.io, so it
# is consumed as a git dependency and pinned by Cargo.lock.
colony-ui = "0.1.5"
reqwest = { version = "0.13.4", features = ["json", "query"] }
tokio = { version = "1.53.1", features = ["rt-multi-thread", "time"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
notify-rust = "4.18.0"
global-hotkey = "0.8.0"
# tray-icon's Linux backend goes through libappindicator and GTK 3, which needs
# a GTK main loop iced/winit never runs; building a tray with it aborts the
# process. Linux uses ksni (pure-Rust StatusNotifierItem) instead -- the same
# wire protocol libappindicator implements.
[target.'cfg(all(not(target_arch = "wasm32"), not(target_os = "linux")))'.dependencies]
tray-icon = "0.24.2"
# Keep default features on: `blocking` enables no async runtime by itself, and
# zbus refuses to build without one.
[target.'cfg(target_os = "linux")'.dependencies]
ksni = { version = "0.3.6", features = ["blocking"] }
# mockall, pretty_assertions, tokio-test and serial_test were declared here but
# referenced nowhere in src/ or tests/. serial_test 4.0.1 also carried a 1.93.1
# rust-version, which would have put the test floor three releases above the
# floor to build the binary.
[dev-dependencies]
tempfile = "3.27.0"
[features]
crisp = []
# Optimize third-party deps even in dev builds.
# User code stays at opt-level=0 (fast compile) but heavy deps like
# symphonia, wgpu, iced_wgpu, image decoders run at opt-level=3.
# Without this, library indexing and audio init are painfully slow in debug.
[profile.dev.package."*"]
opt-level = 3
# Fast profile: release-level optimizations with incremental compile
# for quick dev iteration (use `cargo run --profile fast`).
[profile.fast]
inherits = "release"
debug = "line-tables-only"
incremental = true