From 9eae0c0ec45a363787a2909780cd866bfaa9c04f Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 17 Nov 2025 11:48:56 +0800 Subject: update: dependencies and build config Add futures, sha1, walkdir dependencies and optimize release build --- Cargo.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index c629414..6c7e6cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,14 +19,14 @@ lto = false panic = "unwind" [profile.release] -opt-level = 3 +opt-level = "z" debug = false -split-debuginfo = "off" +split-defoinfo = "off" codegen-units = 1 incremental = false -lto = "fat" +lto = "thin" panic = "abort" -strip = "symbols" +strip = true [build-dependencies] chrono = "0.4" @@ -58,3 +58,6 @@ rust-i18n = "3" # Regex regex = "1.12.1" + +# File +walkdir = "2.5.0" -- cgit