forked from zzzgydi/clash-verge-service
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
40 lines (34 loc) · 831 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
36
37
38
39
40
[package]
name = "clash-verge-service"
version = "0.1.0"
edition = "2021"
authors = ["zzzgydi", "Clash Verge Rev Team"]
license = "GPL-3.0"
repository = "https://github.com/zzzgydi/clash-verge-service.git"
[[bin]]
name = "clash-verge-service"
path = "src/main.rs"
[[bin]]
name = "install-service"
path = "src/install.rs"
[[bin]]
name = "uninstall-service"
path = "src/uninstall.rs"
[dependencies]
warp = "0.3"
anyhow = "1.0"
log = "0.4.14"
log4rs = "1.0.0"
once_cell = "1.14"
serde_json = "1.0"
parking_lot = "0.12.0"
windows-service = "0.6.0"
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
[target.'cfg(target_os = "linux")'.dependencies]
openssl ={ version = "0.10", features = ["vendored"] }
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
opt-level = "s"