forked from nzcv/GamePerf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (45 loc) · 1.16 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
[package]
name = "app"
version = "2.2.1"
edition = "2021"
rust-version = "1.56.0"
[[bin]]
name = "GamePerf"
path = "src/main.rs"
[target.'cfg(target_os="windows")'.build-dependencies]
winres = "0.1"
[dependencies]
# Std-like
anyhow = "1.0"
# Async
tokio = { version = "1.0", features = ["rt-multi-thread", "sync", "parking_lot", "macros", "fs", "io-util", "process"], default-features = false }
parking_lot = "0.11"
# Utils
lazy_static = "1.0"
clap = "3.0"
mime_guess = "2.0"
rust-embed = { version = "6.0", default-features = false }
dirs = "4.0"
rfd = "0.5"
base64 = "0.13"
opener = "0.5"
image = { version = "0.23", features = ["png"], default-features = false }
# Http
reqwest = { version = "0.11", features = ["json"] }
# (De)Serialize
serde = { version = "1.0.147", features = ["derive"], default-features = false }
serde_json = "1.0.87"
# WebView
wry = { version = "0.12", features = ["protocol"], default-features = false }
portpicker = "0.1.1"
jsonrpc-ws-server = "18.0.0"
rand = "0.8.5"
env_logger = "0.9.1"
log = "0.4.17"
regex = "1.7.0"
walkdir = "2.3.2"
[dev-dependencies]
ctor = {verion = "0.1"}
[profile.release]
opt-level = "z" # Optimize for size.
strip = true