初次提交
This commit is contained in:
21
Cargo.toml
Normal file
21
Cargo.toml
Normal file
@ -0,0 +1,21 @@
|
||||
[package]
|
||||
name = "hby"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
axum = "0.8.4"
|
||||
num-bigint = "0.4.6"
|
||||
sled = "0.34.7"
|
||||
tokio = { version = "1.47.1", features = ["macros", "rt-multi-thread"] }
|
||||
tower = "0.5.2"
|
||||
tower-http = { version = "0.6.6", features = ["fs"] }
|
||||
|
||||
|
||||
[profile.release]
|
||||
#缩小编译后体积
|
||||
strip = true
|
||||
# strip = "debuginfo" #仅移除debug信息
|
||||
lto = true #启用链接时间优化
|
||||
panic = "abort" #panic时直接abort
|
||||
opt-level = "z" #优化级别
|
||||
Reference in New Issue
Block a user