-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
98 lines (87 loc) · 3.03 KB
/
Copy pathCargo.toml
File metadata and controls
98 lines (87 loc) · 3.03 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[package]
name = "fast-down-gui"
version = "0.1.45"
edition = "2024"
license = "MIT"
authors = ["share121 <2854631158@qq.com>"]
repository = "https://github.com/fast-down/gui"
readme = "README.md"
exclude = ["/.github"]
description = "超级快的下载器图形化界面"
documentation = "https://docs.rs/fast-down-gui"
homepage = "https://github.com/fast-down/gui"
keywords = ["concurrency", "downloader", "parallel", "performance", "thread"]
categories = ["asynchronous", "concurrency", "network-programming"]
[[bin]]
name = "fast-down"
path = "src/main.rs"
[dependencies]
arboard = "3.6.1"
auto-launch = "0.6.0"
bitcode = { version = "0.6.9", features = ["serde"] }
color-eyre = "0.6.5"
crossfire = "3.1.7"
dashmap = { version = "6.1.0", features = ["serde"] }
dirs = "6.0.0"
fast-down-ffi = { version = "0.2.4", features = ["file", "reqwest-tls", "serde"] }
# fast-down-ffi = { path = "../ffi/", features = ["file", "reqwest-tls", "serde"] }
i-slint-backend-winit = "1.15.1"
image = "0.25.10"
interprocess = { version = "2.4.0", features = ["tokio"] }
itertools = "0.14.0"
mimalloc = "0.1.48"
mime_guess = "2.0.5"
open = "5.3.3"
parking_lot = { version = "0.12.5", features = ["serde"] }
rfd = "0.17.2"
sanitize-filename = "0.6.0"
serde = { version = "1.0.228", features = ["rc"] }
serde_json = "1.0.149"
soft-canonicalize = "0.5.5"
tokio = { version = "1.51.0", features = ["rt-multi-thread"] }
tokio-util = "0.7.18"
tracing = "0.1.44"
tracing-appender = "0.2.4"
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
tray-icon = "0.22.0"
url = { version = "2.5.8", features = ["serde"] }
file_alloc = "0.1.2"
urlencoding = "2.1.3"
chrono = "0.4.44"
[build-dependencies]
slint-build = "1.15.1"
winresource = "0.1.31"
[target.'cfg(target_os = "linux")'.dependencies]
gtk = "0.18.2"
[target.'cfg(target_os = "windows")'.dependencies]
widestring = "1.2.1"
winreg = "0.56.0"
windows = { version = "0.62", features = ["Win32_UI_Shell", "Win32_Security_Authorization", "Win32_System_Console", "Win32_System_Threading"] }
[target.'cfg(not(target_os = "macos"))'.dependencies]
showfile = "0.1.1"
slint = { version = "1.15.1", features = ["accessibility", "backend-winit", "compat-1-2", "renderer-winit-femtovg"], default-features = false }
[target.'cfg(target_os = "macos")'.dependencies]
slint = { version = "1.15.1", features = ["accessibility", "backend-winit", "compat-1-2", "renderer-winit-skia"], default-features = false }
[profile.release]
opt-level = 3
strip = true
lto = true
panic = "abort"
codegen-units = 1
# [lints.clippy]
# all = { level = "deny", priority = -1 }
# pedantic = { level = "deny", priority = -1 }
# nursery = { level = "deny", priority = -1 }
# cargo = { level = "deny", priority = -1 }
# # restriction = { level = "deny", priority = -1 }
# multiple_crate_versions = "allow"
[package.metadata.bundle]
name = "FastDown"
identifier = "top.s121.fd"
icon = ["assets/icon.png"]
copyright = "Copyright (c) 2026 fast-down"
category = "Utilities"
short_description = "超级快的下载器"
long_description = """
超级快的下载器图形化界面
"""