cosmic-player/Cargo.toml

71 lines
1.9 KiB
TOML
Raw Normal View History

2024-01-23 21:55:34 -07:00
[package]
name = "cosmic-player"
version = "1.0.12"
edition = "2024"
2026-04-03 00:09:03 +02:00
rust-version = "1.93"
2024-01-23 21:55:34 -07:00
[build-dependencies]
vergen = { version = "8", features = ["git", "gitcl"] }
2024-01-23 21:55:34 -07:00
[dependencies]
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"] }
tempfile = "3"
tokio = { version = "1", features = ["sync"] }
url = { version = "2", features = ["serde"] }
# 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 = [
"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"
[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-01-24 14:31:39 -07:00
[dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic.git"
default-features = false
features = ["advanced-shaping", "tokio", "winit", "multi-window"]
2024-01-24 14:31:39 -07:00
[dependencies.mpris-server]
2026-04-03 00:09:03 +02:00
version = "0.10"
features = ["tokio"]
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"]
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" }