-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
35 lines (30 loc) · 1008 Bytes
/
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
[package]
name = "launcher-curseforge"
version = "2.1.2"
authors = ["Shayne Hartford <[email protected]>"]
edition = "2021"
description = "Integrates the Curseforge Modpack installation button to any MultiMC based launcher"
readme = "README.md"
repository = "https://github.com/shaybox/launcher-curseforge"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1"
furse = "1"
rayon = "1"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
url = "2"
[target.'cfg(windows)'.dependencies]
is_elevated = "0.1"
winreg = "0.51"
# https://github.com/johnthagen/min-sized-rust
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true
codegen-units = 1
[package.metadata.bundle]
identifier = "com.shaybox.launcher-curseforge"
linux_mime_types = ["x-scheme-handler/curseforge"]
linux_exec_args = "%u"
osx_url_schemes = ["curseforge"]