cosmic-player/Cargo.toml

68 lines
1.9 KiB
TOML
Raw Normal View History

2024-01-23 21:55:34 -07:00
[package]
name = "cosmic-player"
version = "1.0.8"
edition = "2024"
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 }
gstreamer-tag = "0.23"
image = "0.24.9"
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
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"] }
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"
[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
2026-03-20 18:06:17 -04:00
features = ["tokio", "winit", "multi-window"]
2024-01-24 14:31:39 -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]
default = ["mpris-server", "xdg-portal", "wgpu"]
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-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" }