darksoil-studio / p2p-shipyard

Ship cross-platform p2p apps
http://darksoil.studio/p2p-shipyard/
11 stars 3 forks source link

build: reduce size of release bundle with rust compiler optimizations #30

Closed mattyg closed 2 months ago

mattyg commented 3 months ago

Currently a basic holochain app apk (built for 5 cpu targets) is ~500MB. A basic tauri app apk is ~50MB.

I think most of the bundle size is from having holochain as a dep. With rust compiler optimizations for size we can cut that in half.

mattyg commented 3 months ago

actually maybe this isn't necessary as the compiler flags are already set at the workspace level