This repository has been archived by the owner on May 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
86 lines (68 loc) · 1.79 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
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
cargo-features = ["strip"]
[package]
name = "rshub"
version = "0.1.6"
authors = ["Fogapod <[email protected]>"]
edition = "2018"
description = "Unofficial game launcher for UnityStation"
homepage = "https://github.com/Fogapod/rshub"
repository = "https://github.com/Fogapod/rshub"
license = "MIT"
keywords = ["ss13", "unitystation", "ui", "cli", "terminal"]
categories = ["command-line-utilities", "games"]
exclude = [".github/*", ".assets/*"]
[features]
default = ["rustls"]
rustls = ["reqwest/rustls-tls"]
native-tls = ["reqwest/native-tls"]
geolocation = []
[dependencies]
serde_json = "1"
crossterm = "0.22.1"
better-panic = "0.2.0"
dirs-next = "2.0.0"
async-trait = "0.1.51"
bytesize = "1.1.0"
anyhow = "1.0.43"
[dependencies.zip]
version = "0.5.13"
default-features = false
features = ["deflate"]
[dependencies.tokio]
version = "1"
default-features = false
features = ["rt-multi-thread", "sync", "fs", "process", "macros", "time"]
[dependencies.futures]
version = "0.3.16"
default-features = false
[dependencies.tui]
version = "0.16"
default-features = false
features = ["crossterm"]
[dependencies.clap]
version = "=3.0.0-beta.5"
default-features = false
features = ["std", "derive", "cargo", "env", "suggestions"]
# must be locked separately because clap doesn't have strict version requirement for this
# and it can suddenly break after breaking change
[dependencies.clap_derive]
version = "=3.0.0-beta.5"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.reqwest]
version = "0.11.4"
default-features = false
features = ["json", "stream"]
[dependencies.log]
version = "0.4"
features = ["release_max_level_info"]
[dependencies.simplelog]
version = "0.11.0"
default-features = false
[profile.release]
codegen-units = 1
lto = true
# 'abort' prevents cleanup
panic = 'unwind'
strip = true