perf: 优化产物体积
This commit is contained in:
@@ -3,6 +3,14 @@ name = "hello"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = true
|
||||||
|
opt-level = "s"
|
||||||
|
codegen-units = 1
|
||||||
|
panic = "abort"
|
||||||
|
strip = true
|
||||||
|
debug = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
alsa = "0.11"
|
alsa = "0.11"
|
||||||
opus = "0.3"
|
opus = "0.3"
|
||||||
|
|||||||
Reference in New Issue
Block a user