压缩最终产物的大小

This commit is contained in:
2026-01-29 18:46:41 +08:00
parent 85d5b179e2
commit b5464925cf
3 changed files with 8 additions and 185 deletions

View File

@@ -7,20 +7,25 @@ edition = "2024"
name = "utils"
crate-type = ["staticlib"]
[profile.release]
lto = true
codegen-units = 1
opt-level = "z"
strip = "symbols"
panic = "abort"
[dependencies]
cxx = "1.0.192"
fern = "0.7.1"
futures-util = "0.3.31"
indicatif = "0.18.3"
libc = "0.2.180"
log = "0.4.29"
reqwest = { version = "0.13.1", default-features = false, features = ["stream", "native-tls"] }
tokio = { version = "1.49.0", features = ["rt-multi-thread", "full"] }
tokio = { version = "1.49.0", features = ["rt-multi-thread"] }
chrono = "0.4.43"
colored = "3.1.1"
env_logger = "0.11.8"
encoding_rs = "0.8.35"
tracing-appender = "0.2.4"
serde = { version = "1.0.228", features = ["derive"] }
toml = "0.9.11"
prost = "0.14.3"