-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
32 lines (29 loc) · 928 Bytes
/
Cargo.toml
File metadata and controls
32 lines (29 loc) · 928 Bytes
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
[package]
name = "oh-procd"
version = "0.1.0"
edition = "2024"
[dependencies]
axum = "0.8.8"
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
chrono = "0.4"
tracing-appender = "0.2.4"
anyhow = "1.0.102"
tower-http = {version = "0.6.8", features = ["trace"]}
tracing = "0.1.44"
tracing-subscriber = {version="0.3.22", features=["env-filter"]}
nix = {version="0.31.1", features = ["signal", "process","resource","mount","sched","fs","user"] }
windows-sys = "0.61.2"
config = "0.15.22"
clap = { version = "4.5.57", features = ["derive"] }
base64 = "0.22.1"
humantime-serde = "1.1.1"
libc = "0.2.180"
sysinfo = "0.38.1"
dashmap = "6.1.0"
rand = "0.10.0"
which = "8.0.0"
[profile.release]
lto = true # Link Time Optimization
codegen-units = 1 # 减少生成单元,提高优化空间
opt-level = "z" # "z" 优化体积,"s" 优化大小,默认 "3" 优化速度