2024-01-23 21:55:34 -07:00
|
|
|
[package]
|
|
|
|
|
name = "cosmic-player"
|
2026-05-05 10:24:36 -06:00
|
|
|
version = "1.0.12"
|
2025-11-09 21:33:47 -05:00
|
|
|
edition = "2024"
|
2026-04-03 00:09:03 +02:00
|
|
|
rust-version = "1.93"
|
2024-01-23 21:55:34 -07:00
|
|
|
|
2025-03-26 11:42:39 -04:00
|
|
|
[build-dependencies]
|
|
|
|
|
vergen = { version = "8", features = ["git", "gitcl"] }
|
|
|
|
|
|
2024-01-23 21:55:34 -07:00
|
|
|
[dependencies]
|
2025-11-09 21:33:47 -05:00
|
|
|
ashpd = { version = "0.12", optional = true }
|
2026-04-03 00:09:03 +02:00
|
|
|
gstreamer-tag = "0.25"
|
|
|
|
|
image = "0.25"
|
2024-01-24 14:31:39 -07:00
|
|
|
serde = { version = "1", features = ["serde_derive"] }
|
2025-01-18 08:47:47 -07:00
|
|
|
tempfile = "3"
|
2025-04-10 21:02:44 -06:00
|
|
|
tokio = { version = "1", features = ["sync"] }
|
|
|
|
|
url = { version = "2", features = ["serde"] }
|
2025-03-26 11:42:39 -04:00
|
|
|
# CLI arguments
|
2026-04-03 00:09:03 +02:00
|
|
|
clap_lex = "1.1"
|
2024-01-24 14:31:39 -07:00
|
|
|
# Internationalization
|
2026-04-03 00:09:03 +02:00
|
|
|
icu_collator = "2.2"
|
|
|
|
|
icu_locale = "2.2"
|
|
|
|
|
i18n-embed = { version = "0.16", features = [
|
2025-03-26 11:42:39 -04:00
|
|
|
"fluent-system",
|
|
|
|
|
"desktop-requester",
|
|
|
|
|
] }
|
2026-04-03 00:09:03 +02:00
|
|
|
i18n-embed-fl = "0.10"
|
2025-01-24 14:05:50 -07:00
|
|
|
rust-embed = "8"
|
2024-01-24 14:31:39 -07:00
|
|
|
# Logging
|
2026-04-03 00:09:03 +02:00
|
|
|
env_logger = "0.11"
|
2024-01-24 14:31:39 -07:00
|
|
|
log = "0.4"
|
|
|
|
|
|
2024-10-05 10:05:18 -06:00
|
|
|
[dependencies.iced_video_player]
|
2026-03-20 16:17:24 -04:00
|
|
|
git = "https://github.com/wash2/iced_video_player.git"
|
|
|
|
|
branch = "iced-rebase"
|
2024-10-09 11:15:04 -06:00
|
|
|
default-features = false
|
2024-10-05 10:05:18 -06:00
|
|
|
|
2024-01-24 14:31:39 -07:00
|
|
|
[dependencies.libcosmic]
|
|
|
|
|
git = "https://github.com/pop-os/libcosmic.git"
|
|
|
|
|
default-features = false
|
2026-04-06 12:40:34 -04:00
|
|
|
features = ["advanced-shaping", "tokio", "winit", "multi-window"]
|
2024-01-24 14:31:39 -07:00
|
|
|
|
2025-01-18 08:47:47 -07:00
|
|
|
[dependencies.mpris-server]
|
2026-04-03 00:09:03 +02:00
|
|
|
version = "0.10"
|
|
|
|
|
features = ["tokio"]
|
2025-01-18 08:47:47 -07:00
|
|
|
optional = true
|
|
|
|
|
|
2025-03-22 12:50:18 -04:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
2026-04-03 00:09:03 +02:00
|
|
|
fork = "0.7"
|
2025-03-22 12:50:18 -04:00
|
|
|
|
2024-01-24 14:31:39 -07:00
|
|
|
[features]
|
2026-04-06 15:07:48 -04:00
|
|
|
default = ["mpris-server", "xdg-portal", "wgpu", "wayland"]
|
2025-11-09 21:33:47 -05:00
|
|
|
xdg-portal = ["ashpd", "libcosmic/xdg-portal"]
|
2024-10-09 11:15:04 -06:00
|
|
|
wgpu = ["iced_video_player/wgpu", "libcosmic/wgpu"]
|
2026-04-06 15:07:48 -04:00
|
|
|
wayland = ["libcosmic/wayland"]
|
2024-01-24 14:31:39 -07:00
|
|
|
|
|
|
|
|
[profile.release-with-debug]
|
|
|
|
|
inherits = "release"
|
|
|
|
|
debug = true
|
2024-10-07 10:38:31 -06:00
|
|
|
|
2026-03-20 18:06:17 -04:00
|
|
|
# [patch.'https://github.com/wash2/iced_video_player']
|
|
|
|
|
# iced_video_player = { path = "../iced_video_player" }
|
2024-10-07 13:48:53 -06:00
|
|
|
|
2026-03-26 11:12:11 -04:00
|
|
|
# [patch.'https://github.com/pop-os/libcosmic']
|
2024-10-07 10:38:31 -06:00
|
|
|
# libcosmic = { path = "../libcosmic" }
|
|
|
|
|
# cosmic-config = { path = "../libcosmic/cosmic-config" }
|
|
|
|
|
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }
|
2026-03-26 11:12:11 -04:00
|
|
|
# libcosmic = { git = "https://github.com/pop-os/libcosmic//", branch = "iced-rebase" }
|
|
|
|
|
# cosmic-config = { git = "https://github.com/pop-os/libcosmic//", branch = "iced-rebase" }
|
|
|
|
|
# cosmic-theme = { git = "https://github.com/pop-os/libcosmic//", branch = "iced-rebase" }
|