2024-01-23 21:55:34 -07:00
|
|
|
[package]
|
|
|
|
|
name = "cosmic-player"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2024-01-24 14:31:39 -07:00
|
|
|
lazy_static = "1"
|
|
|
|
|
paste = "1"
|
|
|
|
|
serde = { version = "1", features = ["serde_derive"] }
|
|
|
|
|
tokio = "1"
|
2024-10-05 10:05:18 -06:00
|
|
|
url = "2"
|
2024-10-06 18:28:23 -06:00
|
|
|
# ffmpeg
|
|
|
|
|
cpal = { version = "0.15", optional = true }
|
|
|
|
|
ffmpeg-next = { version = "6", optional = true }
|
2024-01-24 14:31:39 -07:00
|
|
|
# Internationalization
|
|
|
|
|
i18n-embed = { version = "0.13", features = ["fluent-system", "desktop-requester"] }
|
|
|
|
|
i18n-embed-fl = "0.6"
|
|
|
|
|
rust-embed = "6"
|
|
|
|
|
# Logging
|
|
|
|
|
env_logger = "0.10"
|
|
|
|
|
log = "0.4"
|
2024-02-14 03:09:44 -05:00
|
|
|
lexopt = "0.3"
|
2024-01-24 14:31:39 -07:00
|
|
|
|
2024-10-05 10:05:18 -06:00
|
|
|
[dependencies.iced_video_player]
|
|
|
|
|
git = "https://github.com/jackpot51/iced_video_player.git"
|
|
|
|
|
branch = "cosmic"
|
|
|
|
|
optional = true
|
|
|
|
|
|
2024-01-24 14:31:39 -07:00
|
|
|
[dependencies.libcosmic]
|
|
|
|
|
git = "https://github.com/pop-os/libcosmic.git"
|
|
|
|
|
default-features = false
|
|
|
|
|
features = ["tokio", "winit"]
|
|
|
|
|
|
2024-02-09 09:15:29 -07:00
|
|
|
[dependencies.smol_str]
|
|
|
|
|
version = "0.2.1"
|
|
|
|
|
features = ["serde"]
|
|
|
|
|
|
2024-01-24 14:31:39 -07:00
|
|
|
[features]
|
2024-10-05 10:05:18 -06:00
|
|
|
default = ["gstreamer", "wgpu"]
|
2024-10-06 18:28:23 -06:00
|
|
|
ffmpeg = ["dep:cpal", "dep:ffmpeg-next"]
|
2024-10-05 10:05:18 -06:00
|
|
|
gstreamer = ["dep:iced_video_player", "wgpu"]
|
2024-01-24 14:31:39 -07:00
|
|
|
wgpu = ["libcosmic/wgpu"]
|
|
|
|
|
|
|
|
|
|
[profile.release-with-debug]
|
|
|
|
|
inherits = "release"
|
|
|
|
|
debug = true
|
2024-10-07 10:38:31 -06:00
|
|
|
|
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" }
|
2024-10-07 13:48:53 -06:00
|
|
|
|