Browse Source

feat: Update Cargo.toml to optimise binaries for size

(exa PR) 1160: Update Cargo.toml to optimise binaries for size
Merge pull request #23 from cafkafk/pr-1160
Christina Sørensen 2 năm trước cách đây
mục cha
commit
5ab9e4f5bf
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      Cargo.toml

+ 2 - 0
Cargo.toml

@@ -63,6 +63,8 @@ debug = false
 # use LTO for smaller binaries (that take longer to build)
 [profile.release]
 lto = true
+strip = true
+opt-level = "s"
 
 
 [package.metadata.deb]