demml/opsml

Reduce binary size

開放

#295 建立於 2025年11月9日

 (0 則留言) (0 個反應) (0 位負責人)Rust (3 個分叉)auto 404
good first issuehelp wanted

倉庫指標

星標
 (39 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

The current binary size for client (17-18 mb) and server (25 mb) isn't a huge problem. However, I do think we should explore ways to optimize the binary size. One clear way would be to go over the dependencies, remove any unused deps and also disable any flags that are not currently in use. For instance, if a crate has a default flag that installs extras deps automatically, but we only use a few of the deps, we should try and remove the default flag an only enable the deps, which we use.

貢獻者指南