2024-01-23 21:55:34 -07:00
|
|
|
[package]
|
|
|
|
|
name = "cosmic-player"
|
2026-01-30 17:16:39 -07:00
|
|
|
version = "1.0.5"
|
2025-11-09 21:33:47 -05:00
|
|
|
edition = "2024"
|
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 }
|
2024-12-05 12:20:37 -07:00
|
|
|
gstreamer-tag = "0.23"
|
2025-01-18 08:47:47 -07:00
|
|
|
image = "0.24.9"
|
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
|
|
|
|
|
clap_lex = "0.7"
|
2024-01-24 14:31:39 -07:00
|
|
|
# Internationalization
|
2025-01-24 14:05:50 -07:00
|
|
|
icu_collator = "1.5"
|
|
|
|
|
icu_provider = { version = "1.5", features = ["sync"] }
|
2025-03-26 11:42:39 -04:00
|
|
|
i18n-embed = { version = "0.14", features = [
|
|
|
|
|
"fluent-system",
|
|
|
|
|
"desktop-requester",
|
|
|
|
|
] }
|
2025-01-24 14:05:50 -07:00
|
|
|
i18n-embed-fl = "0.7"
|
|
|
|
|
rust-embed = "8"
|
2024-01-24 14:31:39 -07:00
|
|
|
# Logging
|
|
|
|
|
env_logger = "0.10"
|
|
|
|
|
log = "0.4"
|
|
|
|
|
|
2024-10-05 10:05:18 -06:00
|
|
|
[dependencies.iced_video_player]
|
|
|
|
|
git = "https://github.com/jackpot51/iced_video_player.git"
|
2024-12-03 15:27:56 -07:00
|
|
|
branch = "prev-cosmic"
|
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"
|
2024-12-03 15:27:56 -07:00
|
|
|
branch = "prev-master"
|
2024-01-24 14:31:39 -07:00
|
|
|
default-features = false
|
|
|
|
|
features = ["tokio", "winit"]
|
|
|
|
|
|
2025-01-18 08:47:47 -07:00
|
|
|
[dependencies.mpris-server]
|
|
|
|
|
version = "0.8.1"
|
|
|
|
|
optional = true
|
|
|
|
|
|
2025-03-22 12:50:18 -04:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
|
fork = "0.2"
|
|
|
|
|
|
2024-01-24 14:31:39 -07:00
|
|
|
[features]
|
2025-01-18 08:47:47 -07:00
|
|
|
default = ["mpris-server", "xdg-portal", "wgpu"]
|
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"]
|
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-01-27 09:55:15 -07:00
|
|
|
# Keep cosmic-text at version compatible with prev-master of libcosmic
|
|
|
|
|
[patch.'https://github.com/pop-os/cosmic-text'.cosmic-text]
|
|
|
|
|
git = "https://github.com/pop-os/cosmic-text//"
|
|
|
|
|
rev = "166b59f560c551dab391a864f7c1f503c1e18446"
|
|
|
|
|
|
2024-10-07 13:48:53 -06:00
|
|
|
# [patch.'https://github.com/jackpot51/iced_video_player']
|
|
|
|
|
# iced_video_player = { path = "../../iced_video_player" }
|
|
|
|
|
|
2024-10-07 10:38:31 -06:00
|
|
|
# [patch.'https://github.com/pop-os/libcosmic']
|
|
|
|
|
# libcosmic = { path = "../libcosmic" }
|
|
|
|
|
# cosmic-config = { path = "../libcosmic/cosmic-config" }
|
|
|
|
|
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }
|