forked from BKSalman/ytdlp-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
55 lines (48 loc) · 1.69 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[package]
name = "ytdlp-gui"
version = "1.0.2"
edition = "2021"
description = "a GUI for yt-dlp written in Rust"
license = "GPL-3.0"
repository = "https://github.com/BKSalman/ytdlp-gui"
homepage = "https://github.com/BKSalman"
readme = "README.md"
authors = ["Salman"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = [
"mantask"
]
[dependencies]
chrono = { version = "0.4.23", default-features = false, features = ["clock"] }
dirs = "4.0.0"
iced = { version = "0.9.0", features = [ "glow" ] }
iced_aw = { version = "0.5.0", features = ["tabs", "modal", "card"], default-features = false }
iced_native = "0.10.0"
native-dialog = "0.6.3"
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.104"
shared_child = "1.0.0"
toml = "0.5.10"
tracing = "0.1.37"
tracing-appender = "0.2.2"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
url = "2.4.0"
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/ytdlp-gui", dest = "/usr/bin/ytdlp-gui", mode = "755" },
{ source = "data/applications/ytdlp-gui.desktop", dest = "/usr/share/applications/ytdlp-gui.desktop", mode = "644" },
{ source = "data/icons/*/apps/ytdlp-gui.png", dest = "/usr/share/icons/hicolor/", mode = "644" },
]
[package.metadata.generate-rpm.requires]
yt-dlp = "*"
"(ffmpeg or ffmpeg-free)" = "*"
[package.metadata.deb]
depends = "yt-dlp, ffmpeg"
assets = [
["target/release/ytdlp-gui", "usr/bin/", "755"],
["data/applications/ytdlp-gui.desktop", "usr/share/applications/", "644"],
["data/icons/*/apps/ytdlp-gui.png", "usr/share/icons/hicolor/", "644"],
]
[package.metadata.aur]
depends = ["ffmpeg", "yt-dlp"]