ethercrab-rs / ethercrab

EtherCAT master written in pure Rust
258 stars 25 forks source link

Reduce no_std binary size with some internal refactorings #161

Closed jamwaffles closed 9 months ago

jamwaffles commented 9 months ago

master

❯ cargo size -q --release
   text    data     bss     dec     hex filename
  91228     112   57160  148500   24414 ethercrab-stm32-embassy

vs this branch

❯ cargo size -q --release
   text    data     bss     dec     hex filename
  88956     112   57160  146228   23b34 ethercrab-stm32-embassy