demml/opsml

Reduce binary size

Ouverte

#295 ouverte le 9 nov. 2025

 (0 commentaire) (0 réaction) (0 personne assignée)Rust (3 forks)auto 404
good first issuehelp wanted

Métriques du dépôt

Stars
 (39 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur