-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (64 loc) · 2.41 KB
/
Copy pathCargo.toml
File metadata and controls
74 lines (64 loc) · 2.41 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
[package]
name = "ornithe-installer-rs"
version = "0.5.1"
edition = "2024"
authors = [
"moehreag"
]
[dependencies]
base64 = "0.22.1"
chrono = { version = "0.4.40", features = ["serde"] }
clap = { version = "4.5.35", features = ["cargo", "derive", "string"] }
current_locale = { git = "https://github.com/i509VCB/current_locale.git", optional = true }
log = "0.4.27"
reqwest = { version = "0.13.2", features = ["json", "native-tls", "http2", "charset", "system-proxy"], default-features = false }
rust-i18n = { version = "4.2.1" }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = { version = "1.0.145", features = ["preserve_order"] }
zip = { version = "8.6.0", features = ["deflate-flate2-zlib-rs"], default-features = false }
[target.'cfg(any(unix, windows))'.dependencies]
arboard = { version = "3.6.1", features = ["wayland-data-control"] }
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread"] }
rand = { version = "0.10.0", optional = true }
env_logger = "0.11.8"
indicatif = { version = "0.18.3", features = ["improved_unicode"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
eframe = { version = "0.35.0", features = ["wgpu", "accesskit", "default_fonts", "wayland", "x11", "web_screen_reader"], default-features = false, optional = true }
egui = { version = "0.35.0", optional = true }
webbrowser = { version = "1.0.4", optional = true }
rfd = { version = "0.17.2", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
tokio = { version = "1", features = ["macros", "rt", "sync"] }
web-sys = { version = "0.3.91", features = [
"Window",
"Navigator",
"Clipboard",
"Document",
"Blob",
"BlobPropertyBag",
"Location",
"CssStyleDeclaration",
"Event",
"EventListener",
"Element",
"HtmlInputElement",
"HtmlSelectElement",
"HtmlProgressElement",
"CookieStore",
]}
wasm-bindgen-futures = "0.4.64"
wasm-bindgen = "0.2.126" # Make sure to also update the respective numbers in build.yml and deploy.yml
console_log = "1"
[target.'cfg(target_os = "linux")'.dependencies]
fontconfig = { version = "0.11.0", optional = true }
[target.'cfg(windows)'.dependencies]
hide_console_ng = "0"
[features]
default = ["gui"]
gui = ["dep:eframe", "dep:egui", "dep:rfd", "dep:rand", "dep:webbrowser", "dep:current_locale", "dep:fontconfig"]
[build-dependencies]
embed-resource = "3.0.5"
winres = "0.1.11"
[profile.release]
lto = true
opt-level = 's'