darksoil-studio / p2p-shipyard

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

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

Closed mattyg closed 3 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